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.v20.1.dll

Declaration

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

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