GridColumn.AppearanceHeader Property
Gets the appearance settings used to paint the column header.
Namespace: DevExpress.XtraGrid.Columns
Assembly: DevExpress.XtraGrid.v24.2.dll
Declaration
[DXCategory("Appearance")]
[XtraSerializableProperty(XtraSerializationVisibility.Content, XtraSerializationFlags.DefaultValue)]
[XtraSerializablePropertyId(1)]
public AppearanceObject AppearanceHeader { get; }
Property Value
Type | Description |
---|---|
AppearanceObject | An AppearanceObject object representing the column header’s appearance settings. |
Remarks
The AppearanceHeader
property contains appearance settings of individual column headers. Use the GridView.Appearance.HeaderPanel property to customize appearance settings of all column headers in the View.
You can also handle the GridView.CustomDrawColumnHeader event to manually paint column headers.
Tip
Column headers support DX Skin Colors. You can use DX Skin Colors to specify the background color of column headers (GridColumn.AppearanceHeader.BackColor
).
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AppearanceHeader property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.