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.v24.1.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 | 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 , 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.