FlowLayoutPanel.FlowDirection Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets a value indicating the flow direction of the FlowLayoutPanel control.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

member FlowDirection : FlowDirection with get, set

Property Value

Type: System.Windows.Forms.FlowDirection

One of the FlowDirection values indicating the direction of consecutive placement of controls in the panel. The default is LeftToRight.

The FlowDirection property is the default property for the FlowLayoutPanel class.

The following code example sets the value of FlowDirection depending on the selected RadioButton.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top