You need to process the CustomDrawCell of your GridView, here is a code snippet that changes the color of the Name column based on another valoe column (age column)
private void gridView_CustomDrawCell(object sender, RowCellCustomDrawEventArgs e) { if (e.Column == colName) { var age = Convert.ToInt32(gridView.GetRowCellValue(e.RowHandle, colAge)); if (age < 18) e.Appearance.BackColor = Color.FromArgb(0xFE, 0xDF, 0x98); else e.Appearance.BackColor = Color.FromArgb(0xD2, 0xFD, 0x91); } }
Good luck.
source share