Skip to main content

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

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 Return 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

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