Skip to main content

ChartControl.RuntimeSelection Property


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.v23.2.UI.dll

NuGet Package: DevExpress.Win.Charts


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

Property Value

Type Description

true if selection is enabled; otherwise, false.


Use the RuntimeSelection 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, set the ChartControl.RuntimeSeriesSelectionMode property to either SeriesSelectionMode.Point or SeriesSelectionMode.Series.


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

See Also