Skip to main content
A newer version of this page is available. .

PaletteRepository Class

Represents the repository used to store the palettes that are used to draw the elements of a chart control.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v19.2.dll

Declaration

[RuntimeObject]
public class PaletteRepository :
    PaletteListBase,
    IPaletteRepository

Remarks

A PaletteRepository class is intended to store different palettes that are used to draw chart elements with different appearance settings (gradient and hatch filling, etc.) defined by the ChartControl.AppearanceName value. The currently used palette is specified via the ChartControl.PaletteName property.

By default, XtraCharts provides a number of palettes represented by the Palettes public fields. Normally, you don’t need to modify them, but if they don’t meet your requirements you can create your own Palette object and add it to the PaletteRepository via the PaletteRepository.RegisterPalette method.

Inheritance

See Also