Back to Devexpress

RibbonControl.AllowGlyphSkinning Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribboncontrol-7a9499b2.md

latest2.9 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
Booleanfalse

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.

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

Bar and Ribbon Glyph Skinning

Glyph Skinning

RibbonControl Class

RibbonControl Members

DevExpress.XtraBars.Ribbon Namespace