How to select a row(e.g.frist row in datagrid) and set its background color to be e.g. red in C#?
I have following code in my program:
gameDataGrid.RowBackground = new SolidColorBrush(Colors.Red);
The output is shown below, the background is not red....