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.v20.2.dll
NuGet Package: 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 | 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 , 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.
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.