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

Setting DevExpress XtraGrid Row Height

Closing DevExpress XtraGrid Group Panel

DevExpress XtraGrid Clicking Cells to Edit

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

DevExpress XtraGrid Cell Information Horizontal Alignment Adjustm ...