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. | |
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. | |
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. |
See Also