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.v24.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 | ||
Direction = PaneLayoutDirection.Vertical |
See Also