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

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