corelibraries-devexpress-dot-xtracharts-dot-heatmap-dot-heatmappalettecolorprovider-e0855660.md
Gets or sets the name of the color provider palette.
Namespace : DevExpress.XtraCharts.Heatmap
Assembly : DevExpress.XtraCharts.v25.2.dll
NuGet Package : DevExpress.Charts
public string PaletteName { get; set; }
Public Property PaletteName As String
| Type | Description |
|---|---|
| String |
The palette name.
|
You can use one of predefined palette names to specify the PaletteName property:
colorProvider.PaletteName = "Slipstream";
colorProvider.PaletteName = "Slipstream"
It is possible to use a custom palette. To do this, create a Palette object and add it to the heatmap’s PaletteRepository. 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"
Dim palette As Palette = New Palette("") From {
Color.White,
Color.SkyBlue,
Color.DarkBlue
}
heatmap.PaletteRepository.Add("HeatmapPalette", palette)
colorProvider.PaletteName = "HeatmapPalette"
Alternatively, you can use the Palette property to specify the palette.
See Also
HeatmapPaletteColorProvider Class