Back to Devexpress

XYDiagram2D.RuntimePaneCollapse Property

corelibraries-devexpress-dot-xtracharts-dot-xydiagram2d-5635bdc1.md

latest3.3 KB
Original Source

XYDiagram2D.RuntimePaneCollapse Property

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

Declaration

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

Property Value

TypeDescription
Boolean

true , if an end user can expand and collapse chart panes; otherwise, false.

|

Remarks

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.

winforms-dashboard-display-each-series-in-separate-pane-for-chart-items/CS/MultiPaneExtension/MultiPaneModule.cs#L105

csharp
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();

winforms-dashboard-display-each-series-in-separate-pane-for-chart-items/VB/MultiPaneExtension/MultiPaneModule.vb#L102

vb
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

RuntimePaneResize

XYDiagram2D Class

XYDiagram2D Members

DevExpress.XtraCharts Namespace