Skip to main content

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.v24.2.dll

Declaration

[Browsable(false)]
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Appearance")]
[EditorBrowsable(EditorBrowsableState.Never)]
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 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

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