Skip to main content

Column Header

Column headers are displayed at the top of each column provided that the column header panel is visible. They display information about the corresponding column’s content and allow end-users to manipulate columns, e.g. sort by column values, reorder columns, change their size, etc.

Feature Related Members
Visibility Column headers may reside within the column header panel (if the corresponding column is visible), within the customization form (if the corresponding column is hidden) and within the Group By box (if the View is grouped by this column’s values).
Appearance The look and feel of column headers depends upon the grid control’s LookAndFeel property settings. The style and background bitmap can be changed using the View’s Styles.Header and BackgroundBitmaps.Header properties. You can also specify a custom style for a particular column header using the corresponding column’s Styles.Header property. Lastly, you can specify column header styles by handling the View’s Styles.OnGetHeaderStyle event or the desired column’s Styles.OnGetHeaderStyle event.
Custom Draw The View’s OnCustomDrawColumnHeader event or a column’s OnCustomDrawHeader event.