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

XtraTabControl.AllowGlyphSkinning Property

Gets or sets whether all XtraTabPage icons within the current XtraTabControl should be painted in the pages’ foreground colors.

Namespace: DevExpress.XtraTab

Assembly: DevExpress.XtraEditors.v21.2.dll

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

Declaration

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

Property Value

Type Default Description
DefaultBoolean Default

true if all XtraTabPage icons within the current XtraTabControl should be painted in the pages’ foreground colors; otherwise, false.

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

The XtraTabPage.AllowGlyphSkinning property specifies whether, for an individual XtraTabPage, its icon should be painted with the same color as its header text. This property overrides the AllowGlyphSkinning property, which specifies the same color for the entire XtraTabControl. The image below illustrates the XtraTabControl with two pages that have the same icon. The second page is painted with the Glyph Skinning feature.

XtraTabControl - AllowGlyphSkinning

XtraTabPage foreground colors can be customized via the corresponding property in the PageAppearance.Header object.

For best visual results, we recommend the gray-scaled icons from the DevExpress Image Gallery for all elements, painted using the Glyph Skinning feature.

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

See Also