GridPaneLayout.Direction Property
Gets or sets the automatic layout pattern’s orientation.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v25.1.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.
|
| 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.Linear | AutoLayoutMode = AutoLayoutMode.Grid | |
|---|---|---|
| Direction = PaneLayoutDirection.Horizontal | ![]() |
![]() |
| Direction = PaneLayoutDirection.Vertical | ![]() |
![]() |
See Also





