Skip to main content

RibbonControl.AllowGlyphSkinning Property

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

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

[DefaultValue(false)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public bool AllowGlyphSkinning { get; set; }

Property Value

Type Default Description
Boolean false

true if glyphs for all BarItems within the RibbonControl 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. The image below shows the example.

Glyph Skinning - Ribbon Big

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

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