Skip to main content
All docs
V24.1

ImageCollection<TImage, TInfo>.ImageColorizationMode Property

Gets or sets colorization mode for SVG images in the current collection.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

[DefaultValue(SvgImageColorizationMode.Default)]
[DXCategory("Appearance")]
public SvgImageColorizationMode ImageColorizationMode { get; set; }

Property Value

Type Default Description
DevExpress.Utils.SvgImageColorizationMode Default

Colorization mode for SVG images in the current collection.

Remarks

If a vector icon meets DevExpress color requirements, DevExpress controls can adjust this icon’s colors according to the active application Skin. This property allows you to choose how this colorization works.

  • Default or Full - all compatible icons are colorized with default colorization engine settings.
  • CommonPalette - all compatible icons are colorized with colors stored in the “Icon Colors” section of a palette. Individual palettes that bar items, Accordion items, and other controls may have are ignored.
  • None - icons are never colorized and are shown as is.

The figure below illustrates an icon from the DevExpress Image Gallery as it appears in three bar items with different SvgImageColorizationMode settings.

colorizationmode

A control’s ImageOptions.SvgImageColorizationMode property, if set to any value other than Default, has a higher priority than the ImageColorizationMode property of the associated image collection.

See Also