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

A Palette-Dependent Color Set

csTheme1 – csTheme5

Theme-based color sets 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 are ignored for cpExtended and cpStandard palettes.

A CPOffice Color Palette

csCustom

This mode allows you to populate the palette using an OnGetCustomColorSet event handler.

A Custom Color Palette

Direct TdxColorSet Type References

The following properties reference the TdxColorSet type:

TdxColorEditProperties.ColorSet
Specifies a set of colors that are used to create color palettes in the color editor control.
TdxColorGallery.ColorSet
Specifies a set of colors that are used to create color palettes in the color gallery control.
TdxCustomColorEditProperties.ColorSet
Specifies a set of colors that are used to create color palettes in the color editor control.
TdxDBColorGallery.ColorSet
Specifies the color set used to populate the color gallery control’s current palette.
See Also