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

IBaseDocumentDefaultProperties.AllowGlyphSkinning Property

Gets or sets whether the current document’s icon should be painted with this document’s foreground color.

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v21.2.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Navigation

Declaration

DefaultBoolean AllowGlyphSkinning { get; set; }

Property Value

Type Description
DefaultBoolean

A DefaultBoolean enumerator value that specifies whether the current document’s icon should be painted with this document’s foreground color.

Available values:

Name Description
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Remarks

Documents within a DocumentManager can paint their BaseDocument.Images with the same color as their BaseDocument.Captions. This feature is called Glyph Skinning and allows you to build monochrome UIs for your applications. To enable or disable this feature, use the IBaseDocumentProperties.AllowGlyphSkinning property in the BaseView.DocumentProperties section for the entire View, or the AllowGlyphSkinning property for individual documents.

The figure below illustrates a DocumentManager with a TabbedView applied. The View contains two tabbed documents. The first document is painted using the Glyph Skinning feature.

DocumentManager - AllowGlyphSkinning

DocumentManager is not the only control that supports this feature. See the Glyph Skinning topic for the complete control list.

See Also