Back to Devexpress

PictureEdit.SvgImageColorizationMode Property

windowsforms-devexpress-dot-xtraeditors-dot-pictureedit-e7c64a90.md

latest2.3 KB
Original Source

PictureEdit.SvgImageColorizationMode Property

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

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(SvgImageColorizationMode.Default)]
[DXCategory("Appearance")]
public SvgImageColorizationMode SvgImageColorizationMode { get; set; }
vb
<DefaultValue(SvgImageColorizationMode.Default)>
<DXCategory("Appearance")>
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

PictureEdit Class

PictureEdit Members

DevExpress.XtraEditors Namespace