private void gridView3_RowCellStyle(object sender, DevExpress.XtraGrid.Views.Grid.RowCellStyleEventArgs e) { GridView View = sender as GridView; if (e.Column.FieldName == "First Name" && string.IsNullOrEmpty(View.GetRowCellDisplayText(e.RowHandle, e.Column))) { e.Appearance.BackColor = Color.DeepSkyBlue; } }
e.Row.Cells[0].BackColor = Color.Red;
e.Appearance.BackColor = Color.DeepSkyBlue;
GridView.CustomDrawCell
Private Sub grdView_CustomDrawCell(sender As Object, e As RowCellCustomDrawEventArgs)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)