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

SimpleButton.AllowGlyphSkinning Property

Gets or sets whether the current SimpleButton icon should be painted with the button’s fore color.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

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

Property Value

Type Default Description
DefaultBoolean **Default**

A DefaultBoolean enumerator value that specifies whether the current SimpleButton‘s icon should be painted with the button’s fore color.

Available values:

Name Description
True

Corresponds to a Boolean value of true.

False

Corresponds to a Boolean value of false.

Default

The value is determined by the current object’s parent object setting (e.g., a control setting).

Remarks

A SimpleButton icon can be painted in the same color as the SimpleButton.Text. To do so, set the AllowGlyphSkinning property to DefaultBoolean.True. This feature is called Glyph Skinning and allows you to build monochrome UIs for your applications. The figure below illustrates two buttons with the same icons and appearance settings. The left button’s AllowGlyphSkinning property equals DefaultBoolean.True.

SimpleButton - AllowGLyphSKinning

If you build a monochrome UI and use the Glyph Skinning feature, we recommend the gray-scale icons from the DevExpress Image Gallery for the best visual results.

SimpleButtons are not the only controls that support this feature. See the Glyph Skinning topic for the complete control list.

The AllowGlyphSkinning property is equivalent to the ImageOptions.AllowGlyphSkinning property (see SimpleButton.ImageOptions).

See Also