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
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 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.
Note
If you handle the ChartControl.ObjectSelected event, it will be raised regardless of the current RuntimeSelection property value.