corelibraries-devexpress-dot-xtracharts-dot-gridpanelayout-3cd0428c.md
Gets or sets the automatic layout pattern’s orientation.
Namespace : DevExpress.XtraCharts
Assembly : DevExpress.XtraCharts.v25.2.dll
NuGet Package : DevExpress.Charts
[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
public PaneLayoutDirection Direction { get; set; }
<XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)>
Public Property Direction As PaneLayoutDirection
| 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.
|
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