Home Forums WinForms controls Xceed Grid for WinForms Current Cell BackColor Reply To: Current Cell BackColor

User (Old forums)
Member
Post count: 23064

(Thanks for the quick response Tommy.)

I’ve created a grid, added a few columns, populated the grid with data, and set up the following event:

private void gridControl1_CurrentCellChanged(object sender, System.EventArgs e)
{
GridControl mGrid = sender as GridControl;
mGrid.CurrentCell.BackColor = Color.Red;
}

When I select a new cell, that cell’s whole row is painted blue, when I select a different cell, the previous current cell is painted red. This leads me to believe that the current cell is being colored correctly but the row selector bar is somehow sitting on top of the row’s backcolor… if that makes sense.

Anyone have any suggestions?

Thanks.

Craig

Imported from legacy forums. Posted by csperler (had 4198 views)