Back to Devexpress

XtraTabControl.AllowGlyphSkinning Property

windowsforms-devexpress-dot-xtratab-dot-xtratabcontrol-17760766.md

latest3.6 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Appearance")]
public virtual DefaultBoolean AllowGlyphSkinning { get; set; }
vb
<DXCategory("Appearance")>
<DefaultValue(DefaultBoolean.Default)>
Public Overridable Property AllowGlyphSkinning As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

true if all XtraTabPage icons within the current XtraTabControl should be painted in the pages’ foreground colors; 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 option accessible in XtraTabPage.ImageOptions 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.

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

ImageOptions

Header

Glyph Skinning

XtraTabControl Class

XtraTabControl Members

DevExpress.XtraTab Namespace