The default background color of a selected row in DataGrid is so dark that I can’t read it. Is there anyway of overriding it?
Tried this
<dg:DataGrid.RowStyle>
<Style TargetType="{x:Type dg:DataGridRow}">
<Style.Triggers>
<Trigger Property="IsSelected" Value="True" >
<Setter Property="Background" Value="Gainsboro" />
</Trigger>
</Style.Triggers>
</Style>
</dg:DataGrid.RowStyle>
But still nothing…
Got it. Add the following within the DataGrid.Resources section: