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

DevExpress XtraGrid Clicking Cells to Edit

DevExpress XtraGrid Display Count

Displaying The DevExpress XtraGrid Footer

DevExpress XtraGrid Column Header Post Settings