dotnet / dotnet/DataGridExtensions

DataGrid column header style not congruent with .NET 9 / Win 11 styles

Aperta
#117 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C#
Stelle
910
Fork
108
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I have a simple window with a DataGrid inside.
The project is targeting .NET 9 and Win 11 theming is enabled by adding the resources in `App.xaml` file:

```







```

Column headers are displayed without taking into account the Win 11 styling.

Current behavior:

![Image](https://github.com/user-attachments/assets/983c65d8-da50-4adb-b683-1a9d7c607455)

Expected behavior (I got this by removing `dgx:DataGridFilter.IsAutoFilterEnabled="True"` from my DataGrid XAML):

![Image](https://github.com/user-attachments/assets/5827651c-5094-4b14-a845-8d628f81f65f)

Note that the headers are displayed but the lack of contrast make them almost unreadable.
I'm opening this issue, but I'm ready to forward it to WPF repo if this is not a DataGridExtension-related issue.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Reproduce the issue in a .NET 9 WPF window using the App.xaml Fluent resource dictionary and a DataGrid with dgx:DataGridFilter.IsAutoFilterEnabled="True". Compare the resulting headers with the appearance when that attribute is removed, then determine whether the styling conflict belongs to DataGridExtensions or WPF. Done means the headers have readable contrast while auto-filtering remains enabled.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
csharp
Ambito
desktop
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.