corelibraries-devexpress-dot-xtracharts-dot-xydiagram2d-5635bdc1.md
Gets or sets the value that specifies whether an end user can collapse chart panes.
Namespace : DevExpress.XtraCharts
Assembly : DevExpress.XtraCharts.v25.2.dll
NuGet Package : DevExpress.Charts
[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
public bool RuntimePaneCollapse { get; set; }
<XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)>
Public Property RuntimePaneCollapse As Boolean
| Type | Description |
|---|---|
| Boolean |
true , if an end user can expand and collapse chart panes; otherwise, false.
|
An end user can click a pane title or the title’s expand button to collapse and expand the pane.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RuntimePaneCollapse 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.
diagram.PaneLayout.AutoLayoutMode = settings.UseGridLayout ? PaneAutoLayoutMode.Grid : PaneAutoLayoutMode.Linear;
diagram.RuntimePaneCollapse = settings.AllowPaneCollapsing;
List<Series> seriesWithPoints = series.Cast<Series>().Where(s => s.Points.Any()).ToList();
diagram.PaneLayout.AutoLayoutMode = If(settings.UseGridLayout, PaneAutoLayoutMode.Grid, PaneAutoLayoutMode.Linear)
diagram.RuntimePaneCollapse = settings.AllowPaneCollapsing
Dim seriesWithPoints As List(Of Series) = series.Cast(Of Series)().Where(Function(s) s.Points.Any()).ToList()
See Also