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

XtraTabPage.AllowGlyphSkinning Property

Gets or sets whether the current XtraTabPage‘s icon should be painted in the page’s foreground color.

Namespace: DevExpress.XtraTab

Assembly: DevExpress.XtraEditors.v21.2.dll

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

Declaration

[Browsable(false)]
[DefaultValue(DefaultBoolean.Default)]
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual DefaultBoolean AllowGlyphSkinning { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

true if the current XtraTabPage‘s icon should be painted in the page’s foreground color; 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 AllowGlyphSkinning property specifies whether, for an individual XtraTabPage, its icon should be painted in the same color, as its header text. This property overrides the XtraTabControl.AllowGlyphSkinning property, which specifies the same attribute for the entire XtraTabControl. The image below illustrates the XtraTabPage 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.

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

See Also