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

DevExpress XtraGrid Row Header Invisible

DevExpress XtraGrid Setting Cell Text Color by Column

DevExpress XtraGrid Column Header Height Adjustment

Getting Value of DevExpress XtraGrid Column

Automating DevExpress XtraGrid Column Width