Skip to main content
A newer version of this page is available. .
All docs
V21.2

HeatmapControl.PaletteRepository Property

Returns the Heatmap Control’s palette repository.

Namespace: DevExpress.XtraCharts.Heatmap

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

NuGet Packages: DevExpress.Win.Charts, DevExpress.Win.Design

Declaration

[Browsable(false)]
public PaletteRepository PaletteRepository { get; }

Property Value

Type Description
PaletteRepository

Stores heatmap palettes.

Remarks

Create a Palette object and add it to the heatmap’s PaletteRepository to use a custom heatmap palette. Then, assign the palette name to the PaletteName property:

Palette palette = new Palette("") { Color.White, Color.SkyBlue, Color.DarkBlue };
heatmap.PaletteRepository.Add("HeatmapPalette", palette);
colorProvider.PaletteName = "HeatmapPalette"
See Also