Skip to main content

WebChartControl.RuntimeSelection Property

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.Web

Assembly: DevExpress.XtraCharts.v24.1.Web.dll

NuGet Package: DevExpress.Web.Visualization

Declaration

[DefaultValue(false)]
[Obsolete("Use the SelectionMode property instead.")]
public bool RuntimeSelection { get; set; }

Property Value

Type Default Description
Boolean false

true if the selection is enabled; otherwise, false.

Remarks

Important

The RuntimeSelection property is obsolete. Use the WebChartControl.SelectionMode property instead.

Use the RuntimeSelection property to enable selection of some of the chart’s elements at runtime. If selection is enabled, then if an end-user selects any element, the WebChartControl.ObjectSelected event occurs.

Note

Selection enabled by setting the RuntimeSelection property to true is performed on a server side, and the result is applied on a client side via callbacks.

To implement manual selection of chart’s elements, the WebChartControl.SetObjectSelection and WebChartControl.ClearSelection methods should be used.

See Also