How can I get a StackPanel-like layout in WinForms
A FlowLayoutPanel is probably the most appropriate control. It avoids the row management aspect of TableLayoutPanel
.
To achieve this layout, merely set all the following properties on a FlowLayoutPanel
:
AutoScroll = True
FlowDirection = TopDown
WrapContents = False
Check this for details
You can use the TableLayoutPanel
, if the explicit row management isn't too annoying.