Library's datagrid style is lost when giving custom properties in xaml
Open
Nobody has claimed this yet.
bug
- Dominant language
- C#
- Stars
- 9.6k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug

Before adding custom datagrid style property:

After:

To Reproduce
Giving a datagrid custom style
Expected behavior
Datagrid to maintain the style provided by the library
Screenshots



OS version
Windows 11 & 10
.NET version
.NET Framework 4.8
WPF-UI NuGet version
2.0.3
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file, test, or specific control entry point is named. Start by reproducing the issue in a WPF application on the reported .NET Framework 4.8 and WPF-UI 2.0.3 setup, comparing the library's default DataGrid style with a custom XAML style. Done means custom properties no longer remove the library-provided DataGrid appearance, with a regression test covering the behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100