The flow layout panel is a control which contains other controls. The flow layout panel automatically positions the child controls stacking either horizontally or vertically. Child controls will wrap to the next row or column automatically, or can be clipped to the size of the flow layout panel. The flow layout panel helps you create dynamic user interfaces that resize automatically when the size of the Interface Panel changes.
Property | Access | Type | Method | Description |
---|---|---|---|---|
FlowDirection | Design-only | FlowDirection | — | Sets the direction to layout child controls in the panel. Available options are: TopDown , LeftToRight , RightToLeft and BottomUp . |
WrapContents | Design-only | bool | — | Sets whether the control should wrap child controls when the contents are is wider (or taller) than the control, or clip the contents to the size of the control. |
More information:
- The flow layout panel control supports all the common control properties.
- Create user interfaces that resize automatically when the size of the Interface Panel changes.
- Information from Microsoft about advanced anchoring and docking in flow layout panels.