ChartControl.ClearSelection(Boolean) Method
Deselects all selected chart elements; optionally deselects hot-tracked elements as well.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.1.UI.dll
NuGet Package: DevExpress.Win.Charts
Declaration
Parameters
Name | Type | Description |
---|---|---|
clearHot | Boolean | true to deselect hot-tracked elements; otherwise, false. |
Remarks
Use the ClearSelection method to implement custom selection of chart elements at runtime. This method deselects all the selected elements within a chart. If an element is hot-tracked, this method will unselect it if true is passed for the clearHot parameter. To set the selection state of 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.