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

HeatmapLabel Class

Contains options for heatmap labels.

Namespace: DevExpress.Xpf.Charts.Heatmap

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

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public class HeatmapLabel :
    ChartTextElement,
    INotifyPropertyChanged

The following members return HeatmapLabel objects:

#Remarks

Initialize the HeatmapControl.Label property with a HeatmapLabel object to display cell labels. Use the TextPattern property to format the label text.

#Example

The following example shows how to display cell labels, format the label text, and configure label appearance:

Cell labels

<dxh:HeatmapControl.Label>
    <dxh:HeatmapLabel Foreground="Black" 
                      Background="#70ffffff" 
                      Padding="2" 
                      TextOrientation="Horizontal"
                      TextPattern="${V}M"/>
</dxh:HeatmapControl.Label>
See Also