ChartControl.RuntimeSelection Property
Obsolete. Gets or sets a value indicating if chart elements can be selected by end-users at runtime.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v18.2.UI.dll
Declaration
[Browsable(false)]
[Obsolete("The ChartControl.RuntimeSelection property is now obsolete. Use the ChartControl.SelectionMode property instead.")]
public bool RuntimeSelection { get; set; }
<Browsable(False)>
<Obsolete("The ChartControl.RuntimeSelection property is now obsolete. Use the ChartControl.SelectionMode property instead.")>
Public Property RuntimeSelection As Boolean
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.