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

LabelControl.AllowGlyphSkinning Property

Gets or sets whether the label image is painted based on the label’s foreground color.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v22.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

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

Property Value

Type Default Description
DefaultBoolean Default

true if the label image is painted based on the label’s foreground color; otherwise, false.

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

The glyph skinning feature allows you to fill the label image using a hue specified by the label’s foreground color (the LabelControl.Appearance.ForeColor property). If the AllowGlyphSkinning property is set to Default or False, this feature is disabled.

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 used freely in your application.

Image Gallery - Grayscale Icons

See the Glyph Skinning topic to learn more.

See Also