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.v21.2.dll

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
See Also