CustomPalette Class

Represents a custom palette (collection of colors) used to draw a chart.

Namespace: DevExpress.Xpf.Charts

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


public class CustomPalette :
Public Class CustomPalette
    Inherits Palette


The ChartControlBase.Palette property defines colors for series points. It can be set either to one of the standard palettes, or to a CustomPalette object. A custom palette's colors are stored in the ColorCollection, which is available via the CustomPalette.Colors property.

For more information, see Chart Themes and Palettes.


This example demonstrates how to change the series point colors by using a custom palette. To do this, a CustomPalette is added to the chart's ChartControlBase.Palette. And, custom colors are specified via the CustomPalette.Colors property.


A complete sample project is available at

See Also