Back to Devexpress

SvgImageBox.SvgImageColorizationMode Property

windowsforms-devexpress-dot-xtraeditors-dot-svgimagebox-b26c51ee.md

latest2.4 KB
Original Source

SvgImageBox.SvgImageColorizationMode Property

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

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.Utils.v25.2.dll

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

Declaration

csharp
[DefaultValue(SvgImageColorizationMode.Default)]
public SvgImageColorizationMode SvgImageColorizationMode { get; set; }
vb
<DefaultValue(SvgImageColorizationMode.Default)>
Public Property SvgImageColorizationMode As SvgImageColorizationMode

Property Value

TypeDefaultDescription
DevExpress.Utils.SvgImageColorizationModeDefault

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.

See Also

SvgImageBox Class

SvgImageBox Members

DevExpress.XtraEditors Namespace