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

PaletteRepository.RegisterPalette(Palette) Method

Performs a check and adds the specified palette to the repository.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v19.1.dll

Declaration

public void RegisterPalette(
    Palette palette
)

Parameters

Name Type Description
palette Palette

A Palette object to register.

Remarks

This method checks the palette’s name before addition. The user-defined palette with the same name is replaced. If the palette’s name is found within the predefined palette names list, an exception is raised.

See Also