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.v19.1.dll

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

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Orientation property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also