最佳答案
DataGrid 中选定行的默认背景颜色太暗,我无法读取。有什么办法能覆盖它吗?
试试这个
<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>
但还是没有..。