Any way to disable horizontal scroll for FlowLayoutPanel in AutoScroll mode?

Posted by P a u l on Stack Overflow See other posts from Stack Overflow or by P a u l
Published on 2010-04-26T06:00:02Z Indexed on 2010/04/26 6:03 UTC
Read the original article Hit count: 600

Filed under:
|
|

I need a System.Windows.Forms.FlowLayoutPanel that only auto scrolls vertically. WrapContents is false, and I want it to work like a vertical stack panel. I can't find a way to disable the horizontal scroll. I've googled it, can't find a usable solution so far.

The alternative is to abandon the FlowLayoutPanel, and try another control. What acts somewhat like a WPF stack panel but that expands and shrinks vertically with the contained controls?

© Stack Overflow or respective owner

Related posts about winforms

Related posts about windows-forms