Back to Devexpress

HeatmapControl.SelectionMode Property

windowsforms-devexpress-dot-xtracharts-dot-heatmap-dot-heatmapcontrol-b2bfbe7a.md

latest2.8 KB
Original Source

HeatmapControl.SelectionMode Property

Gets or sets the selection mode for heatmap cells.

Namespace : DevExpress.XtraCharts.Heatmap

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

NuGet Package : DevExpress.Win.Charts

Declaration

csharp
public ElementSelectionMode SelectionMode { get; set; }
vb
Public Property SelectionMode As ElementSelectionMode

Property Value

TypeDescription
ElementSelectionMode

A value that identifies the selection mode.

|

Available values:

NameDescription
None

The selection of a chart element is disabled.

| | Single |

Selects the only chart element.

| | Multiple |

Selects multiple chart elements.

| | 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.

|

Remarks

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

Selection ModeDescription
SingleA user can select a single heatmap cell.
MultipleA user can select multiple heatmap cells.
ExtendedA user can select a single heatmap cell. A user can hold down the Ctrl key to select multiple cells.
NoneA user cannot select heatmap cells.

The following code enables Multiple selection mode:

csharp
heatmapControl1.SelectionMode = XtraCharts.ElementSelectionMode.Multiple;
vb
Me.heatmapControl1.SelectionMode = XtraCharts.ElementSelectionMode.Multiple

See Also

HeatmapControl Class

HeatmapControl Members

DevExpress.XtraCharts.Heatmap Namespace