All docs
V20.1
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

XYDiagram2D.RuntimePaneResize Property

Gets or sets the value that specifies whether a user can resize chart panes.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.1.dll

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
public bool RuntimePaneResize { get; set; }
<XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)>
Public Property RuntimePaneResize As Boolean

Property Value

Type Description
Boolean

true, if a user can resize chart panes; otherwise, false.

Remarks

Drag the pane boundary to resize the pane:

When you resize panes at runtime, the Chart Control switches the GridPaneLayout.AutoLayoutMode property value to Grid even if you use the Linear pane layout mode. Then, the Chart creates row and column layout definitions used to define the panes' position.

To obtain pane height or width in pixels, use the LayoutDefinition.SizeInPixels property of the row/column that contains the pane. The Chart Control resets the LayoutDefinition.Weight property value and initialize SizeInPixels instead even if you used weight values to specify pane sizes.

See the Pane Layout document for more information.

Example

XYDiagram2D diagram = chartControl1.Diagram as XYDiagram2D;
diagram.RuntimePaneResize = true;
See Also