Skip to main content
All docs
V24.1

HeatmapDiagram.BackgroundBrush Property

Gets or sets the brush used to fill the heatmap diagram.

Namespace: DevExpress.Xpf.Charts.Heatmap

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

NuGet Package: DevExpress.Wpf.Charts

Declaration

public Brush BackgroundBrush { get; set; }

Property Value

Type Description
Brush

The brush that is used to paint the heatmap diagram background.

Example

The following example specifies the Heatmap Control’s diagram background and border colors:

A heatmap diagram with default settings

<dxh:HeatmapControl.Diagram>
    <dxh:HeatmapDiagram BackgroundBrush="LightGray" BorderBrush="Gray"/>
</dxh:HeatmapControl.Diagram>
See Also