All docs
V21.2
21.2
21.1
20.2
The page you are viewing does not exist in version 20.2. This link will take you to the root page.
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
Row

IWorkbook.ColorPalette Property

Returns a color palette for the spreadsheet document.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v21.2.Core.dll

Declaration

WorkbookColorPalette ColorPalette { get; }

Property Value

Type Description
WorkbookColorPalette

A palette of 56 RGB colors.

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