Back to Devexpress

TcxCustomImageList.UseEnabledSkinPaletteForSVG Property

vcl-cximagelist-dot-tcxcustomimagelist-078bfc7e.md

latest3.3 KB
Original Source

TcxCustomImageList.UseEnabledSkinPaletteForSVG Property

Specifies if the active vector skin palette affects stored SVG glyphs for the enabled UI element state.

Declaration

delphi
property UseEnabledSkinPaletteForSVG: TdxDefaultBoolean read; write; default bDefault;

Property Value

TypeDefaultDescription
TdxDefaultBooleanbDefaultbDefaultThe TdxVisualRefinements.UseEnabledSkinPaletteForSVG property specifies if the active vector skin palette affects stored SVG glyphs.bTrueThe active vector skin palette defines corresponding style colors in stored SVG glyphs.bFalseStored SVG glyphs for the enabled UI element state use only their built-in colors.

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.

Available Options

You can set the UseEnabledSkinPaletteForSVG property to bTrue or bFalse to explicitly enable or disable skin palette interaction with stored SVG glyphs for the enabled UI element state.

Limitations

The UseEnabledSkinPaletteForSVG property has no effect on stored enabled state glyphs when one of the following conditions is met:

  • Stored 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).

Default Value

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 stored SVG glyphs for the enabled UI element state.

See Also

TcxCustomImageList.UseDisabledSkinPaletteForSVG Property

TdxGPImage.UseEnabledSkinPaletteForSVG Property

TdxGPImage.UseDisabledSkinPaletteForSVG Property

TcxCustomImageList Class

TcxCustomImageList Members

cxImageList Unit