Skip to main content

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.v24.2.dll

NuGet Package: DevExpress.Wpf.LayoutControl

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