Bar

BarItem.AllowGlyphTheming Property

Gets or sets whether the BarItem glyph is colored according to the currently applied theme.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v20.1.dll

Declaration

public bool? AllowGlyphTheming { get; set; }
Public Property AllowGlyphTheming As Boolean?

Property Value

Type Description
Nullable<Boolean>

true, if the BarItem glyph is colored according to the currently applied theme; otherwise, false.

Remarks

The AllowGlyphTheming property specifies whether the BarItem glyph is colored according to the currently applied theme. When using the glyph theming feature, use of gray-scaled glyphs from the DX Image Gallery is recommended for the best visual effects.

See the BarManager.AllowGlyphTheming property to learn more.

NOTE

This fucntionality can operate only in bar items that do not use Lightweight Templates. Disable the use of Lightweight Templates (set CompatibilitySettings.UseLightweightBarItems to false) if you want to enable the glyph theming feature. Alternatively, you can use SVG icons in bar items: SVG Images.

See Also