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 Selecting Entire Row on Row Click

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

DevExpress XtraGrid Clicking Cells to Edit

Demonstration of DevExpress XtraGrid Search Panel

DevExpress XtraGrid Display Count