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

DevExpress XtraGrid Display Count

DevExpress XtraGrid Cell Information Horizontal Alignment Adjustm ...

DevExpress XtraGrid Clicking Cells to Edit

DevExpress XtraGrid Setting Cell Text Color by Column

Freezing a DevExpress XtraGrid Column