lepoco / lepoco/wpfui

Library's datagrid style is lost when giving custom properties in xaml

Open
#485 8 comments 0 reactions 0 assignees View on GitHub

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

image

Before adding custom datagrid style property:
image

After:
image

To Reproduce

Giving a datagrid custom style

Expected behavior

Datagrid to maintain the style provided by the library

Screenshots

image
image
image

OS version

Windows 11 & 10

.NET version

.NET Framework 4.8

WPF-UI NuGet version

2.0.3

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.