Skip to main content

GridPaneLayout.Direction Property

Gets or sets the automatic layout pattern’s orientation.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.2.dll

NuGet Package: DevExpress.Charts

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
public PaneLayoutDirection Direction { get; set; }

Property Value

Type Description
PaneLayoutDirection

The automatic layout pattern’s orientation.

Available values:

Name Description
Vertical

Panes are aligned in the vertical direction.

PaneLayoutDirection_Vertical

Horizontal

Panes are aligned in the horizontal direction.

PaneLayoutDirection_Horizontal

Remarks

Note that the Layout’s GridPaneLayout.AutoLayoutMode property specifies the layout pattern that the diagram uses for automatically laying out panes.

The following table demonstrates these properties in action:

AutoLayoutMode = AutoLayoutMode.Linear AutoLayoutMode = AutoLayoutMode.Grid
Direction = PaneLayoutDirection.Horizontal chart__auto-layout--linear-horizontal chart__auto-layout--grid-horizontal
Direction = PaneLayoutDirection.Vertical chart__auto-layout--linear-vertical chart__auto-layout--grid-vertical
See Also