[Expand]General Information
[Collapse]WinForms Controls
  .NET Core Support
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications, and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Collapse]Data Grid
   [Expand]Get Started With Data Grid and Views
   [Expand]Data Binding
    Unbound Columns
   [Expand]Data Editing and Validation
   [Expand]Filter and Search
   [Expand]Focus and Selection Handling
    Format Cell Values
   [Expand]Master-Detail Relationships
   [Expand]Asynchronous Image Load
   [Expand]Export and Printing
   [Expand]Appearance and Conditional Formatting
    Split Presentation
    Row Preview Sections
   [Expand]Batch Modifications
    Hit Information
    Popup Menus
   [Expand]Save and Restore Layout
   [Collapse]Visual Elements
    [Expand]Grid Control Elements
    [Expand]View Common Elements
    [Collapse]Grid View Elements
      Auto Filter Row
      Column Header
      Column Header Context Menu
      Column Header Image
      Column Header Panel
      Customization Form
      Data Row
      Empty Space
      Filter Button
      Fixed Panel Divider
      Footer Cell
      Footer Context Menu
      Group Expand Button
      Group Footer
      Group Panel
      Group Panel Context Menu
      Group Row
      Group Row Check Box Selector
      Group Row Context Menu
      Header Panel Button
      Preview Section
      Row Cell
      Row Indicator Panel
      Row Separator
      Sort Glyph
      View Footer
    [Expand]Card View Elements
    [Expand]Layout View Elements
    [Expand]Banded Grid View Elements
    [Expand]Master-Detail Mode Related Elements
   [Expand]Design-Time Features
   [Expand]End-User Capabilities
    Included Components
  [Expand]Vertical Grid
  [Expand]Property Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Gantt Control
  [Expand]Chart Control
  [Expand]Map Control
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Sunburst Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com

Column Header

Column headers identify columns in Grid Views, Banded Grid Views and Advanced Banded Grid Views. A column header contains:

  • a caption string identifying column content;
  • a Column Header Image providing graphical information about column content;
  • a Sort Glyph identifying the data sort order (if any) applied to column values;
  • a Filter Button enabling end-users to filter column values.

The Column Header Panel contains the headers of all visible columns. Headers of grouped columns are displayed in the Group Panel. The Customization Form displays hidden columns' headers. Right-clicking a column header in the header panel or group panel activates the Column Header Context Menu.



The table below lists the main properties affecting element appearance.


The GridViewAppearances.HeaderPanel property specifies appearance settings for all column headers. Individual columns may override these settings using the GridColumn.AppearanceHeader property.

To change the element's background color use the GridViewAppearances.HeaderPanel's BackColor property. Please note that the background color cannot be changed when the View is painted using the Windows XP or Office2003 paint style (see the BaseView.PaintStyleName property).

Custom Draw Event



The GridOptionsView.ShowColumnHeaders and GridOptionsView.ShowGroupPanel options specify whether or not to display the Column Header Panel and Group Panel respectively. A column's OptionsColumn.ShowInCustomizationForm option specifies whether or not the column header can appear in the Customization Form when hidden.


GridColumn.Image, GridColumn.ImageIndex, GridColumn.Caption

HTML tags can be used to format a column's caption, provided that the GridOptionsView.AllowHtmlDrawHeaders option is enabled.


GridOptionsHint.ShowColumnHeaderHints, GridColumn.ToolTip

Expanded See Also

Is this topic helpful?​​​​​​​