DevExpress XtraGrid Cell Text Settings by Column

In DevExpress XtraGrid, follow the steps below to edit cell text settings by column.

  • 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 "AppearanceCell".

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


this.NAME.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);

this.AMOUNT.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 8.25F,   System.Drawing.FontStyle.Bold);       



You May Interest

Setting DevExpress XtraGrid Row Height

DevExpress XtraGrid Display Count

Automating DevExpress XtraGrid Column Width

DevExpress XtraGrid Setting Cell Text Color by Column

Demonstration of DevExpress XtraGrid Search Panel