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.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 | Return Value |
---|---|---|
True | The value is true. |
|
False | The value is false. |
|
Default | The value is specified by a global option or a higher-level object. |
|
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.
See the Glyph Skinning topic to learn more.