Skip to main content
All docs
V25.1
  • Row

    WorkbookColorPalette Interface

    A color palette for a workbook.

    Namespace: DevExpress.Spreadsheet

    Assembly: DevExpress.Spreadsheet.v25.1.Core.dll

    NuGet Package: DevExpress.Spreadsheet.Core

    Declaration

    public interface WorkbookColorPalette

    The following members return WorkbookColorPalette objects:

    Remarks

    A WorkbookColorPalette object defines a deprecated indexing color scheme that is still required for backwards compatibility with legacy formats. We recommend that you use document themes to change the appearance of your workbooks. Refer to the following API property for details: Theme.

    A workbook palette contains a set of 56 RGB colors. The following image illustrates the default palette colors and their indexes:

    Default Workbook Palette

    You can change each color, copy palette colors from another document, or reset a custom palette to default colors.

    See Also