How to change the BackColor of a single row
10 Jun 20211 minute to read
GridControl.RowStyles collection contains GridStyleInfo objects that provide row style settings for the GridControl. Changing the properties on a particular RowStyle will affect all the cells in that row (unless a particular cell has a more specific style setting, like a CellStyle, applied).
//Sets the BackColor of the 3rd row. gridControl1.RowStyles.BackColor = Color.Red;
'Sets the BackColor of the 3rd row. GridControl1.RowStyles(3).BackColor = Color.Red