dotnet / dotnet/DataGridExtensions

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

Open
#117 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
910
Forks
108
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.