Skip to main content

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

TdxColorSet Enum

Enumerates color sets used to populate color palettes displayed in color gallery controls.

#Declaration

Delphi
TdxColorSet = (
    csDefault,
    csTheme1,
    csTheme2,
    csTheme3,
    csTheme4,
    csTheme5,
    csCustom
);

#Members

Name
csDefault
csTheme1
csTheme2
csTheme3
csTheme4
csTheme5
csCustom

#Remarks

Options include:

Value

Description

Example

csDefault

The color set used to populate a palette depends on the selected palette variety.

A Palette-Dependent Color Set

csTheme1 – csTheme5

The theme color set used to create a cpOffice color palette and contains 20 colors (including 10 theme colors and 10 standard colors). Shades are calculated automatically based on this set.

Theme color sets are not applicable to the cpExtended and cpStandard palettes.

A CPOffice Color Palette

csCustom

This mode allows you to substitute the selected palette’s default color set with custom colors by handling the OnGetCustomColorSet event raised prior to populating the color gallery’s palette.

A Custom Color Palette

See Also