or
private void RefreshColorsOfResultsInGrid(){ this.radGridViewControl.BeginInit(); foreach (GridViewRowInfo row in this.radGridViewControl.Rows) { GridViewCellInfo cell = row.Cells["ResultAsString"]; if ((cell.Value.ToString().ToUpper() == "NEW") || (cell.Value.ToString().ToUpper() == "NEW*")) { cell.Style.CustomizeFill = true; cell.Style.DrawFill = true; cell.Style.ForeColor = Color.Green; cell.Style.Font = new Font("Arial", 8, FontStyle.Bold); } else if ((cell.Value.ToString().ToUpper() == "OLD") || (cell.Value.ToString().ToUpper() == "OLD*") ) { cell.Style.CustomizeFill = true; cell.Style.DrawFill = true; cell.Style.ForeColor = Color.Red; cell.Style.Font = new Font("Arial", 8, FontStyle.Bold); } else { cell.Style.CustomizeFill = true; cell.Style.DrawFill = true; cell.Style.ForeColor = Color.Black; } } this.radGridViewControl.EndInit(); this.radGridViewControl.Refresh();}


