DevExpress XtraGrid Column Header Post Settings

In DevExpress's XtraGrid object, the following ways are followed to set the texts in the column header.

  • 1 - "Run Designer" opens.
  • 2 - Select "Columns" from the left panel.
  • 3 - The desired column or columns are selected.
  • 4 - Set the desired font type and size from the "Font" section of "AppearanceHeader".

An example of setting it as code is given below..

this.AMOUNT.AppearanceHeader.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold);


You May Interest

Getting Value of DevExpress XtraGrid Column

DevExpress XtraGrid Selecting Entire Row on Row Click

DevExpress XtraGrid Setting Cell Color by Column

Putting Multi Selection and Checkbox Columns in DevExpress XtraGr ...

Demonstration of DevExpress XtraGrid Search Panel