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

ChartControl.ClearSelection() Method

Deselects all chart elements at runtime.

Namespace: DevExpress.XtraCharts

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

Declaration

public void 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