ChartControl.ClearSelection() Method

Deselects all chart elements at runtime.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.2.UI.dll

Declaration

public void ClearSelection()
Public Sub ClearSelection

Remarks

Use the ClearSelection method to implement custom selection of chart elements at runtime. This method deselects an element if it's selected or hot-tracked. To select any chart element, the ChartControl.SetObjectSelection method should be used.

NOTE

To enable standard selection of chart elements by end-users at runtime, set the ChartControl.RuntimeSelection property to true.

See Also