DevExpress XtraGrid Setting Cell Color by Column

To set cell color by column in DevExpress XtraGrid, follow the steps below.

  • 1 - "Run Designer" opens.
  • 2 - Select "Columns" from the left panel.
  • 3 - The desired column or columns are selected.
  • 4 - Set the desired color from the "BackColor" section of "AppearanceCell".

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


this.AMOUNT.AppearanceCell.BackColor = System.Drawing.Color.White;       



You May Interest

DevExpress XtraGrid Setting Cell Text Color by Column

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

DevExpress XtraGrid Cell Information Horizontal Alignment Adjustm ...

Demonstration of DevExpress XtraGrid Search Panel

Freezing a DevExpress XtraGrid Column