Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datagrid AlternatingRowBackground has priority #567

Open
Duffscs opened this issue Jul 29, 2023 · 1 comment
Open

Datagrid AlternatingRowBackground has priority #567

Duffscs opened this issue Jul 29, 2023 · 1 comment

Comments

@Duffscs
Copy link

Duffscs commented Jul 29, 2023

On a datagrid, if AlternatingRowBackground is specified it has the priority over anything.

Including :

  • Selected line background. if you select a line you are unable know if it is selected
  • Hovering line background. When hovering the alternate line nothing change

Code sample

        <DataGrid ItemsSource="{Binding MyList}" 
                  AlternationCount="2"
                  AlternatingRowBackground="Lavender"
                  HeadersVisibility="Column"
                  AutoGenerateColumns="False"/>
@eliacanavera1111
Copy link

Hi, any solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants