PaletteRepository.RegisterPalette(Palette) Method
Performs a check and adds the specified palette to the repository.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v18.2.dll
Declaration
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