Back to Devexpress

IBaseDocumentDefaultProperties.AllowGlyphSkinning Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-ibasedocumentdefaultproperties-80d4822b.md

latest3.5 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
DefaultBoolean AllowGlyphSkinning { get; set; }
vb
Property AllowGlyphSkinning As DefaultBoolean

Property Value

TypeDescription
DefaultBoolean

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

|

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

Documents within a DocumentManager can paint their 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 is not the only control that supports this feature. See the Glyph Skinning topic for the complete control list.

See Also

AllowGlyphSkinning

Glyph Skinning

IBaseDocumentDefaultProperties Interface

IBaseDocumentDefaultProperties Members

DevExpress.XtraBars.Docking2010.Views Namespace