TdxSkinController.SkinPaletteName Property
Specifies the name of the active color palette.
Declaration
property SkinPaletteName: string read; write;
Property Value
Type | Description |
---|---|
string | The name of the active color palette. The property value is always sdxDefaultColorPaletteName for a bitmap-based skin. Only vector skins support multiple color schemes. |
Remarks
Use the SkinPaletteName
property to switch between color schemes (palettes) available for the active vector skin.
Available Skin Palettes
Different vector skins ship with different sets of color palettes. To obtain the list of color palettes available for the active vector skin, you can call the PopulateSkinColorPalettes procedure. Assign a name from the populated name list to the SkinPaletteName
property to apply the corresponding color palette to the active skin. If the assigned name is not on the list, the skin controller uses the default color palette.
Tip
You can use the Skin Editor to create custom color palettes for vector skins.
Default Value
The SkinPaletteName
property’s default value is the sdxDefaultColorPaletteName global constant.