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.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
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. |
|
False | The value is false. |
|
Default | The value is specified by a global option or a higher-level object. |
|
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.
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.