Flowlayout panel is a much simpler control than
TableLayoutPanel. It arranges items as a linear collection, supporting
wrapping. It works well for menuing and list like scenarios and also supports
textwrapping and some interesting alignment options.
FlowLayoutPanel has a much smaller range of uses than TableLayoutPanel.
Some scenarios in which it's interesting to consider FlowLayoutPanel include:
- Placing controls one after another without overlapping
– lists of links, such as explorer bars.
- Multi Column UI Portal – an application such as money
with lots of little panels of information that reflow/wrap when the window is
resized.
- ToolStrip layout – ToolStrips support flow layout by
a property called LayoutStyle. By switching the LayoutStyle to Flow and
casting the LayoutSettings property to FlowLayoutSettings, a ToolStrip can
behave much like a FlowLayoutPanel.
- Toolbar-esque windows that can float and take on
different orientations: if the contents of the FLP are properly laid out (e.g.
integral heights/widths of one another), you can get a fair amount of
rearrangement for free if the window switches between a set of fixed sizes.
NOTE: FLP sample in the SDK provides a rudimentary demonstration
of this.