Bar

BarItem.AllowGlyphSkinning Property

Gets or sets whether glyphs for this BarItem should be painted using the text foreground color.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[Browsable(false)]
public virtual DefaultBoolean AllowGlyphSkinning { get; set; }
<Browsable(False)>
Public Overridable Property AllowGlyphSkinning As DefaultBoolean

Property Value

Type Description
DefaultBoolean

A DefaultBoolean enumerator value specifying whether this BarItem should be painted using the text foreground color.

Remarks

If the AllowGlyphSkinning property equals DefaultBoolean.False, item large and regular glyphs are painted as they are and the item foreground color will only be used to paint this item's BarItem.Captions. Otherwise, if the AllowGlyphSkinning property equals DefaultBoolean.True, item glyphs are displayed in a hue dependent on the fore color of this item.

For the best visual results, we recommend using grayscale icons from our DevExpress Image Gallery.

Image Gallery - Grayscale Icons

An item's AllowGlyphSkinning property overrides the global glyph skinning settings. To specify the global glyph skinning settings, use the BarManager.AllowGlyphSkinning property. This setting global setting is used for all BarItems whose AllowGlyphSkinning property equals DefaultBoolean.Default.

See the Bar and Ribbon Glyph Skinning topic to learn more.

See Also