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 Clicking Cells to Edit

Demonstration of DevExpress XtraGrid Search Panel

DevExpress XtraGrid Setting Color of Selected Row

DevExpress XtraGrid Setting Cell Text Color by Column

Closing DevExpress XtraGrid Group Panel