# Selection

The RadHeatMap control allows you to select its cells visually. A border around the cell represents this functionality, and it is disabled by default. To enable it, you need to set the **SelectionMode**, **SelectedCellBorderColor** and **SelectedCellBorderThickness** properties of the RadHeatMap.

> You need to set all three properties (SelectionMode, SelectedCellBorderColor, SelectedCellBorderThickness) otherwise, the visual selection of the cells won't appear.

The **SelectionMode** property is an enumeration of type **HeatMapSelectionMode** which provides the following values:

* **None**: The selection is disabled. (default)
* **SingleDataItem**: Only a single data item can be selected with interaction.
* **MultipleDataItems**: Multiple data items can be selected with interaction.

The **SelectedCellBorderColor** property is of type **Color** that gets or sets the color of the selection border.

The **SelectedCellBorderThickness** property is of type **Thickness** that gets or sets the thickness of the selection border.

**Example 1: Enabling the selection behavior of the RadHeatMap**

```XAML
<telerik:RadHeatMap SelectionMode="MultipleDataItems" SelectedCellBorderColor="Red" SelectedCellBorderThickness="2" />
```

> caption RadHeatMap with selection enabled

![RadHeatMap with selection enabled](https://www.telerik.com/products/wpf/documentation/assets/46a0ae12ee2fd534650080ec9b2e7fa5/radheatmap-selection_0.png)

## See Also

* [Getting Started](https://www.telerik.com/products/wpf/documentation/controls/radheatmap/getting-started)
* [Labels](https://www.telerik.com/products/wpf/documentation/controls/radheatmap/labels)
* [Populating With Data](https://www.telerik.com/products/wpf/documentation/controls/radheatmap/populating-with-data)
