Back to Devexpress

NavBarControl.AllowGlyphSkinning Property

windowsforms-devexpress-dot-xtranavbar-dot-navbarcontrol-1852e294.md

latest2.9 KB
Original Source

NavBarControl.AllowGlyphSkinning Property

Gets or sets whether all items within the current NavBarControl should paint their icons in the items’ foreground colors.

Namespace : DevExpress.XtraNavBar

Assembly : DevExpress.XtraNavBar.v25.2.dll

NuGet Package : DevExpress.Win

Declaration

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

Property Value

TypeDefaultDescription
Booleanfalse

true if all items within the current NavBarControl should paint their icons in the items’ foreground colors; otherwise, false.

|

Remarks

NavBarControl supports the Glyph Skinning feature that helps you to build monochrome interfaces. NavBarControl items (NavBarItems and NavBarGroups) can paint their icons in the same color as their captions. To enable the Glyph Skinning feature for the entire control, set the AllowGlyphSkinning property to true. You can also override this setting for individual items using the AllowGlyphSkinning option accessible in NavElement.ImageOptions. The image below illustrates a NavBarControl with the Glyph Skinning feature enabled.

For best visual results, we recommend using gray-scale icons from the DevExpress Image Gallery.

NavBarControl is not the only control that supports this feature. See the Glyph Skinning topic for the complete control list.

See Also

ImageOptions

Glyph Skinning

NavBarControl Class

NavBarControl Members

DevExpress.XtraNavBar Namespace