Skip to main content
A newer version of this page is available. .

BackstageViewItem.AllowGlyphSkinning Property

Gets or sets whether the current BackstageViewItem‘s icon should be painted with the BackstageViewItem foreground color.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v21.2.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Navigation

Declaration

[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean AllowGlyphSkinning { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

A DefaultBoolean enumerator value that specifies whether the current BackstageViewItem‘s icon should be painted with the BackstageViewItem foreground color.

Available values:

Name Description
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Remarks

If the AllowGlyphSkinning property equals DefaultBoolean.False , the BackstageViewItem‘s glyph is drawn as it is. Otherwise, if the AllowGlyphSkinning property equals DefaultBoolean.True, an icon receives a specific color hue, depending on the BackstageViewItem‘s fore color.

For best visual results, use gray-scale icons from the DevExpress Image Gallery for those items whose AllowGlyphSkinning property equals true.

Image Gallery - Grayscale Icons

To specify global settings common to all BackstageViewItems within a BackstageViewControl, use the BackstageViewControl.AllowGlyphSkinning property. This global setting is used for all BackstageViewItems whose AllowGlyphSkinning property equals DefaultBoolean.Default.

See the Bar and Ribbon Glyph Skinning topic to learn more.

See Also