Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxGPImage.UseDisabledSkinPaletteForSVG Property

Specifies if the active vector skin palette affects the stored SVG glyph for the disabled UI element state.

#Declaration

Delphi
property UseDisabledSkinPaletteForSVG: TdxDefaultBoolean read; write; default bDefault;

#Property Value

Type Default Description
TdxDefaultBoolean bDefault
bDefault
The TdxVisualRefinements.UseDisabledSkinPaletteForSVG property specifies if the active vector skin palette affects the stored SVG glyph.
bTrue
The active vector skin palette defines corresponding style colors in the stored SVG glyph.
bFalse
The stored SVG glyph for the disabled UI element state uses the standard grayed effect instead of active skin palette 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 UseDisabledSkinPaletteForSVG property to bTrue or bFalse to explicitly enable or disable skin palette interaction with the stored SVG glyph for the disabled UI element state.

#Limitations

The UseDisabledSkinPaletteForSVG property has no effect on the stored disabled state glyph when one of the following conditions is met:

  • The stored disabled state glyph is a bitmap rather than an SVG icon (palettes have no effect on bitmaps).
  • A bitmap skin is active (bitmap skins have no palettes).

#Default Value

The UseDisabledSkinPaletteForSVG property’s default value is bDefault.

The default UseDisabledSkinPaletteForSVG property value indicates that the TdxVisualRefinements.UseDisabledSkinPaletteForSVG class property specifies if the active vector skin palette affects the stored SVG glyph for the disabled UI element state.

See Also