Back to Devexpress

ChartControl.RuntimeSelection Property

windowsforms-devexpress-dot-xtracharts-dot-chartcontrol-061c902c.md

latest2.8 KB
Original Source

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

NuGet Package : DevExpress.Win.Charts

Declaration

csharp
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("The ChartControl.RuntimeSelection property is now obsolete. Use the ChartControl.SelectionMode property instead.")]
public bool RuntimeSelection { get; set; }
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
<Obsolete("The ChartControl.RuntimeSelection property is now obsolete. Use the ChartControl.SelectionMode property instead.")>
Public Property RuntimeSelection As Boolean

Property Value

TypeDescription
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

SelectionMode

Select and Highlight 2D Chart Elements

ChartControl Class

ChartControl Members

DevExpress.XtraCharts Namespace