Skip to main content

GridPaneLayout.AutoLayoutMode Property

Gets or sets the value that specifies the layout pattern that the diagram uses for automatically laying out panes.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v25.2.dll

NuGet Package: DevExpress.Charts

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
public PaneAutoLayoutMode AutoLayoutMode { get; set; }

Property Value

Type Description
PaneAutoLayoutMode

The value that specifies the layout pattern that the diagram uses for automatically laying out panes.

Available values:

Name Description
Linear

The diagram lays out panes in a line.

Grid

The diagram lays out panes in a table that have a number of rows equal to the square root of the pane number.

Remarks

Note that the Layout’s GridPaneLayout.Direction property specifies the orientation of the target pane layout. 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

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AutoLayoutMode 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.

See Also