Skip to main content

TdxColorSet Enum

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

Declaration

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