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.v20.1.dll

Declaration

[Browsable(false)]
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Appearance")]
public DefaultBoolean AllowGlyphSkinning { get; set; }
<Browsable(False)>
<DefaultValue(DefaultBoolean.Default)>
<DXCategory("Appearance")>
Public Property AllowGlyphSkinning As DefaultBoolean

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.

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