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 Column Header Height Adjustment

Setting DevExpress XtraGrid Row Height

Automating DevExpress XtraGrid Column Width

Freezing a DevExpress XtraGrid Column

Displaying The DevExpress XtraGrid Footer