Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

HeatmapControl.SelectedItem Property

Gets or sets a heatmap cell or a source object that is used to create the selected cell.

Namespace: DevExpress.Xpf.Charts.Heatmap

Assembly: DevExpress.Xpf.Charts.v24.2.dll

NuGet Package: DevExpress.Wpf.Charts

#Declaration

[NonCategorized]
public object SelectedItem { get; set; }

#Property Value

Type Description
Object

An object that stores cell data.

#Remarks

If the heatmap is bound to a data source, the SelectedItem property returns the data object assigned to the selected cell. Otherwise, the selected cell itself is returned.

The SelectedItem property returns the last selected cell if multiple cells are selected. To obtain all selected cells, use the HeatmapControl.SelectedItems property.

See Also