Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DXMenuItem.AllowGlyphSkinning Property

Gets or sets whether the current DXMenuItem icon should be painted in the DXMenuItem‘s foreground color.

Namespace: DevExpress.Utils.Menu

Assembly: DevExpress.Utils.v24.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

#Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public bool AllowGlyphSkinning { get; set; }

#Property Value

Type Description
Boolean

true if the current DXMenuItem icon should be painted in the DXMenuItem‘s foreground color; otherwise, false.

#Remarks

An icon, assigned to the DXMenuItem.ImageOptions.Image property, can attain the color hue specified by the item’s foreground color if the AllowGlyphSkinning property equals true. This feature is called Glyph Skinning and helps you to build monochrome UIs for your applications.

For best visual results, pick gray-scale icons from the DevExpress Image Gallery for DXMenuItems when using the Glyph Skinning feature.

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

See Also