Skip to main content
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.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
public virtual DefaultBoolean AllowGlyphSkinning { get; set; }

Property Value

Type Description
DefaultBoolean

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

Available values:

Name Description Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

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