Bar
A newer version of this page is available. Switch to the current version.

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

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
True

Corresponds to a Boolean value of true.

False

Corresponds to a Boolean value of false.

Default

The value is determined by the current object’s parent object setting (e.g., a control setting).

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