Skip to main content
All docs
V24.1

HeatmapControl.SelectionMode Property

Gets or sets the selection mode for heatmap cells.

Namespace: DevExpress.XtraCharts.Heatmap

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

NuGet Package: DevExpress.Win.Charts

Declaration

public ElementSelectionMode SelectionMode { get; set; }

Property Value

Type Description
ElementSelectionMode

A value that identifies the selection mode.

Available values:

Name Description
None

The selection of a chart element is disabled.

Single

Selects the only chart element.

ElementSelectionMode.Single

Multiple

Selects multiple chart elements.

ElementSelectionMode.Multiple

Extended

Combines the Single and Multiple selection modes’ behaviors. Click an element to select it. To select/deselect multiple elements, click them while the Ctrl key is pressed.

ElementSelectionMode.Extended

Remarks

The following images show how different selection modes work for a heatmap:

Selection Mode Description
Single A user can select a single heatmap cell.
Single selection mode
Multiple A user can select multiple heatmap cells.
Multiple selection mode
Extended A user can select a single heatmap cell. A user can hold down the Ctrl key to select multiple cells.
Extended selection mode
None A user cannot select heatmap cells.

The following code enables Multiple selection mode:

heatmapControl1.SelectionMode = XtraCharts.ElementSelectionMode.Multiple;
See Also