Back to Devexpress

TileItem.AllowGlyphSkinning Property

windowsforms-devexpress-dot-xtraeditors-dot-tileitem-29582ec7.md

latest2.8 KB
Original Source

TileItem.AllowGlyphSkinning Property

Gets or sets whether glyphs for this TileItem should be painted using the item’s foreground color.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
DefaultBooleanDefault

A value that specifies if this item’s glyphs should be painted using the item’s 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 False , tile glyphs are painted as they are. If the property is set to True , tile glyphs are filled using a hue specified by the tile fore color. If the AllowGlyphSkinning property is set to Default , the glyph skinning feature is controlled by the TileControl.AllowGlyphSkinning setting.

For the best visual results, we recommend using grayscale icons with the glyph skinning feature. The DevExpress Image Gallery and Context-Dependent Images provides a set of grayscale icons, which can be freely used in your application.

See the Glyph Skinning topic to learn more.

See Also

AllowGlyphSkinning

Glyph Skinning

TileItem Class

TileItem Members

DevExpress.XtraEditors Namespace