Skip to main content
All docs
V24.1

HeatmapControl.PaletteRepository Property

Returns the Heatmap Control’s palette repository.

Namespace: DevExpress.XtraCharts.Heatmap

Assembly: DevExpress.XtraCharts.v24.1.UI.dll

NuGet Package: DevExpress.Win.Charts

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