Back to Devexpress

GridOptionsView.AllowGlyphSkinning Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsview-f44f9a23.md

latest3.6 KB
Original Source

GridOptionsView.AllowGlyphSkinning Property

Gets or sets whether column and band icons within the current View should be painted with the same colors as the column captions.

Namespace : DevExpress.XtraGrid.Views.Grid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool AllowGlyphSkinning { get; set; }
vb
<DefaultValue(False)>
<XtraSerializableProperty>
Public Overridable Property AllowGlyphSkinning As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true if column and band icons within the current View should be painted with the same colors as the column captions; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AllowGlyphSkinning
GridView

.OptionsView .AllowGlyphSkinning

|

Remarks

You can apply custom grid column GridColumn.Captions and band GridBand.Caption fore colors via the GridColumn.AppearanceHeader and GridBand.AppearanceHeader properties respectively. Icons for these columns and bands can attain these custom color hues. To do so, set the AllowGlyphSkinning property to true. This feature is called Glyph Skinning and allows you to build monochrome UIs for your applications.

The figure below illustrates a GridView, columns within which are painted using the Glyph Skinning feature.

If you build a monochrome UI, we recommend the gray-scale icons from the DevExpress Image Gallery for the best visual results.

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

See Also

GridColumn.AppearanceHeader

GridBand.AppearanceHeader

Glyph Skinning

GridOptionsView Class

GridOptionsView Members

DevExpress.XtraGrid.Views.Grid Namespace