Skip to main content

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

NuGet Package: 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 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

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