Bar

BarManager.AllowGlyphSkinning Property

Gets or sets whether glyphs for all BarItems within the BarManager should be painted using the text foreground color.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[DefaultValue(false)]
[DXCategory("Behavior")]
public virtual bool AllowGlyphSkinning { get; set; }
<DefaultValue(False)>
<DXCategory("Behavior")>
Public Overridable Property AllowGlyphSkinning As Boolean

Property Value

Type Default Description
Boolean

false

true, if glyphs for all BarItems within the BarManager should be painted using the text foreground color; otherwise, false.

Remarks

If the AllowGlyphSkinning property equals false, item glyphs are painted as they are and item foreground colors will be used to paint these items' BarItem.Captions only. In other cases, item glyphs gain a hue, dependent on the fore color of these items.

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

Image Gallery - Grayscale Icons

The BarItem.AllowGlyphSkinning property overrides global glyph skinning settings for individual bar items.

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

See Also