Back to Devexpress

GridPaneLayout.Direction Property

corelibraries-devexpress-dot-xtracharts-dot-gridpanelayout-3cd0428c.md

latest2.6 KB
Original Source

GridPaneLayout.Direction Property

Gets or sets the automatic layout pattern’s orientation.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
public PaneLayoutDirection Direction { get; set; }
vb
<XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)>
Public Property Direction As PaneLayoutDirection

Property Value

TypeDescription
PaneLayoutDirection

The automatic layout pattern’s orientation.

|

Available values:

NameDescription
Vertical

Panes are aligned in the vertical direction.

| | Horizontal |

Panes are aligned in the horizontal direction.

|

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.LinearAutoLayoutMode = AutoLayoutMode.Grid
Direction = PaneLayoutDirection.Horizontal
Direction = PaneLayoutDirection.Vertical

See Also

Pane Layout

GridPaneLayout Class

GridPaneLayout Members

DevExpress.XtraCharts Namespace