Exception thrown when i change button appearance to Primary
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 9.6k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
Exception: Cannot find resource named 'SystemAccentColorPrimary' thrown when i change button appearance to Primary.
To Reproduce
Create a new WPF .net 7 project, set up wpfui, add a <ui:Button Appearance="Primary"/> to the main grid, run your project.
Expected behavior
I expected that my button will actually change it's appearance to primary.
Screenshots
OS version
Windows 11 22H2
.NET version
.NET 7.0
WPF-UI NuGet version
3.0.0 preview 8
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
Start by reproducing the exception in a new WPF .NET 7 project with a <ui:Button Appearance="Primary"/> and inspect the resource lookup for SystemAccentColorPrimary. Done means the project runs without the exception and the button displays the Primary appearance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100