TdxVisualRefinements.UseEnabledSkinPaletteForSVG Property
Specifies if UI elements apply the active vector skin palette to enabled state glyphs at the application level.
Declaration
class property UseEnabledSkinPaletteForSVG: Boolean read; write;
Property Value
Type | Description |
---|---|
Boolean |
|
Remarks
All SVG icons shipped with the DevExpress Icon Library include the following CSS style names that define corresponding SVG element colors: Red
, Green
, Blue
, Yellow
, Black
, and White
. DevExpress controls can use these CSS style names to apply the active vector skin palette to SVG glyphs to maintain contrast.
Refer to the following topic for detailed information on how to adapt third-party SVG icons for interaction with DevExpress skin palettes: Third-Party SVG Icon Adaptation for DevExpress Skins and Palettes.
Global Palette and SVG Glyph Interaction Settings
UseEnabledSkinPaletteForSVG
and UseDisabledSkinPaletteForSVG properties define SVG glyph and skin palette interaction settings application-wide. Corresponding image list and glyph settings have priority over these global settings.
Affected Settings
The UseEnabledSkinPaletteForSVG
property value affects:
- All image lists whose UseEnabledSkinPaletteForSVG property is set to bDefault
- All glyph containers whose UseEnabledSkinPaletteForSVG property is set to bDefault
Limitations
The UseSkinPaletteForDisabled
property has no effect on enabled state glyphs when one of the following conditions is met:
- Enabled state glyphs are bitmaps rather than SVG icons (palettes have no effect on bitmaps).
- A bitmap skin is active (bitmap skins have no palettes).
- If a UI glyph is specified through a UI element’s
Glyph
property and theGlyph
.UseEnabledSkinPaletteForSVG property is set to bTrue or bFalse. - If a UI glyph is stored in an image list and the image list’s UseEnabledSkinPaletteForSVG property is set to bTrue or bFalse.
Default Value
The UseEnabledSkinPaletteForSVG
property’s default value is True
.