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.v19.1.dll
Declaration
[DXCategory("Appearance")]
[DefaultValue(DefaultBoolean.Default)]
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 | Corresponds to a Boolean value of true. |
False | Corresponds to a Boolean value of false. |
Default | The value is determined by the current object’s parent object setting (e.g., a control setting). |
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.
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.