GridColumn.AppearanceHeader Property
Gets the appearance settings used to paint the column header.
Namespace: DevExpress.XtraGrid.Columns
Assembly: DevExpress.XtraGrid.v23.2.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
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 appearance settings of all the column headers within the View are specified by the GridViewAppearances.HeaderPanel property. The AppearanceHeader property provides appearance settings for individual column headers.
Column headers can also be custom painted using the GridView.CustomDrawColumnHeader event.
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.