Back to Devexpress

BackstageViewItem.AllowGlyphSkinning Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-backstageviewitem-f25714de.md

latest3.7 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean AllowGlyphSkinning { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
Public Property AllowGlyphSkinning As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

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

|

Available values:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

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.

See Also

AllowGlyphSkinning

Glyph Skinning

BackstageViewItem Class

BackstageViewItem Members

DevExpress.XtraBars.Ribbon Namespace