Back to Devexpress

LabelControl.AllowGlyphSkinning Property

windowsforms-devexpress-dot-xtraeditors-dot-labelcontrol-3a9307f9.md

latest2.6 KB
Original Source

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

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

|

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

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

Appearance

ForeColor

LabelControl Class

LabelControl Members

DevExpress.XtraEditors Namespace