DevExpress XtraGrid Setting Cell Text Color by Column

The following steps are followed to set the cell text color by column in DevExpress XtraGrid.

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

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


this.NAME.AppearanceCell.ForeColor = System.Drawing.Color.Blue;       



You May Interest

Automating DevExpress XtraGrid Column Width

DevExpress XtraGrid Column Header Height Adjustment

DevExpress XtraGrid Row Header Invisible

DevExpress XtraGrid Column Header Post Settings

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