windowsforms-devexpress-dot-xtraeditors-dot-labelcontrol-3a9307f9.md
Gets or sets whether the label image is painted based on the label’s foreground color.
Namespace : DevExpress.XtraEditors
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Appearance")]
public DefaultBoolean AllowGlyphSkinning { get; set; }
<DefaultValue(DefaultBoolean.Default)>
<DXCategory("Appearance")>
Public Property AllowGlyphSkinning As DefaultBoolean
| 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
|
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.
See the Glyph Skinning topic to learn more.
See Also