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.PaletteRepository Property

Returns the Heatmap Control’s palette repository.

Namespace: DevExpress.XtraCharts.Heatmap

Assembly: DevExpress.XtraCharts.v24.2.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