vcl-dxgdiplusclasses-dot-tdxgpimage-57fe01c2.md
Specifies if the active vector skin palette affects the stored SVG glyph for the enabled UI element state.
property UseEnabledSkinPaletteForSVG: TdxDefaultBoolean read; write; default bDefault;
| Type | Default | Description |
|---|---|---|
| TdxDefaultBoolean | bDefault | bDefaultThe TdxVisualRefinements.UseEnabledSkinPaletteForSVG property specifies if the active vector skin palette affects the stored SVG glyph for the enabled UI element state.bTrueThe active vector skin palette defines corresponding style colors in the stored SVG glyph.bFalseThe stored SVG glyph for the enabled UI element state uses only the colors defined in the source SVG icon. |
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.
You can set the UseEnabledSkinPaletteForSVG property to bTrue or bFalse to explicitly enable or disable skin palette interaction with the stored SVG glyph for the enabled UI element state.
The UseEnabledSkinPaletteForSVG property has no effect on the stored enabled state glyph when one of the following conditions is met:
The UseEnabledSkinPaletteForSVG property’s default value is bDefault.
The default UseEnabledSkinPaletteForSVG property value indicates that the TdxVisualRefinements.UseEnabledSkinPaletteForSVG property specifies if the active vector skin palette affects the stored SVG glyph for the enabled UI element state.
See Also
TdxGPImage.UseDisabledSkinPaletteForSVG Property
TcxCustomImageList.UseDisabledSkinPaletteForSVG Property