Skip to main content

RepositoryItemImageEdit.SvgImageColorizationMode Property

Gets or sets the colorization mode for the RepositoryItemImageEdit object’s SVG image.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

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

Property Value

Type Default Description
DevExpress.Utils.SvgImageColorizationMode Default

Colorization mode.

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

See Also