Back to Devexpress

XtraTabPage.AllowGlyphSkinning Property

windowsforms-devexpress-dot-xtratab-dot-xtratabpage-81346579.md

latest3.5 KB
Original Source

XtraTabPage.AllowGlyphSkinning Property

Use the XtraTabPage.ImageOptions property to specify whether the current XtraTabPage‘s icon should be painted in the page’s foreground color.

Namespace : DevExpress.XtraTab

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
[DefaultValue(DefaultBoolean.Default)]
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual DefaultBoolean AllowGlyphSkinning { get; set; }
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
<DefaultValue(DefaultBoolean.Default)>
Public Overridable Property AllowGlyphSkinning As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

true if the current XtraTabPage‘s icon should be painted in the page’s foreground color; otherwise, false.

|

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

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.

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

AllowGlyphSkinning

Header

Glyph Skinning

XtraTabPage Class

XtraTabPage Members

DevExpress.XtraTab Namespace