Skip to main content
A newer version of this page is available. .

FlowLayoutControl.Orientation Property

Gets or sets whether the control’s items are arranged in columns or rows. This is a dependency property.

Namespace: DevExpress.Xpf.LayoutControl

Assembly: DevExpress.Xpf.LayoutControl.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.LayoutControl, DevExpress.Wpf.Layout

Declaration

public Orientation Orientation { get; set; }

Property Value

Type Description
Orientation

A Orientation value that specifies whether the control’s items are arranged in columns or rows. The default is Vertical.

Remarks

If the Orientation property is set to Horizontal, the items are arranged in rows. If the Orientation property is set to Vertical, the items are arranged in columns.

When a Maximized Element exists, the Orientation property is not in effect. In this mode, other items are arranged in a column or row, as determined by the FlowLayoutControl.MaximizedElementPosition property. For more information on the Maximized Element, see the FlowLayoutControl.MaximizedElement topic.

FlowLayoutControl_Stretch

See Also