Skip to main content
All docs
V24.2
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Workbook.ColorPalette Property

Returns a color palette for the workbook.

You need a license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this property in production code.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Docs.v24.2.dll

NuGet Package: DevExpress.Document.Processor

#Declaration

#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.

#Implements

See Also