GridPaneLayout.Direction Property
Gets or sets the automatic layout pattern’s orientation.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v21.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. |
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 |
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Direction property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.