Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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