Skip to main content

FlowLayoutProperties.FlowDirection Property

Gets or sets the direction based on which this WidgetView arranges its documents.

Namespace: DevExpress.XtraBars.Docking2010.Views.Widget

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(FlowDirection.LeftToRight)]
[XtraSerializableProperty(XtraSerializationFlags.DefaultValue)]
public FlowDirection FlowDirection { get; set; }

Property Value

Type Default Description
FlowDirection LeftToRight

A FlowDirection enumerator value that specifies the direction based on which this WidgetView arranges its documents.

Remarks

When a WidgetView is in Flow Layout Mode (see the WidgetView.LayoutMode property), documents within this View follow each other depending on the FlowDirection property value, forming a column or row. Direction options are left-to-right, right-to-left, bottom-up or top-down.

When the widget sequence reaches the View edge, all successive widgets can start a new column (row) or continue being displayed in the specified direction, even continuing outside the View borders. To set the required behavior, use the FlowLayoutProperties.WrapContent property.

See the Widget View topic to learn more.

See Also