Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ChartControl.RuntimeSelection Property

OBSOLETE

The ChartControl.RuntimeSelection property is now obsolete. Use the SelectionMode property instead.

Gets or sets a value indicating if chart elements can be selected by end-users at runtime.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.2.UI.dll

NuGet Package: DevExpress.Win.Charts

#Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("The ChartControl.RuntimeSelection property is now obsolete. Use the ChartControl.SelectionMode property instead.")]
public bool RuntimeSelection { get; set; }

#Property Value

Type Description
Boolean

true if selection is enabled; otherwise, false.

#Remarks

Use the SelectionMode property to enable selection of chart elements at runtime.

To programmatically implement custom selection of chart elements, use the pair of ChartControl.SetObjectSelection and ChartControl.ClearSelection methods.

To choose whether a single series point or an entire series should be selected, use the ChartControl.SeriesSelectionMode property.

Note

If you handle the ChartControl.ObjectSelected event, it will be raised regardless of the current RuntimeSelection property value.

See Also