Skip to content
Discussion options

You must be logged in to vote

@juusimaa just to grasp your problem:
the bug you are reporting is that the MaterialDesign.Brush.DataGrid.RowHoverBackground does not take precedence over the AlternatingRowBackground?
If so, can you please open an issue so this bug can be tracked a little easier?

Minimal repro (to my understanding):

<DataGrid AlternatingRowBackground="Green"
          CanUserAddRows="False"
          CanUserDeleteRows="False"
          IsReadOnly="True"
          ItemsSource="{Binding Numbers}">
  <DataGrid.Resources>
    <SolidColorBrush x:Key="MaterialDesign.Brush.DataGrid.RowHoverBackground" Color="Red" />
  </DataGrid.Resources>
  <DataGrid.Columns>
    <DataGridTextColumn Binding="{Binding .}" Header="

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@juusimaa
Comment options

@juusimaa
Comment options

Answer selected by juusimaa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants