Skip to main content
A newer version of this page is available. .

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.v18.2.Web.dll

Declaration

[Obsolete("Use the SelectionMode property instead.")]
[DefaultValue(false)]
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