Card Expander corner radius hardcoded to 4 in the expanded state. The content presenter doesn't have a dynamic background either.
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
The corner radius of the Card Expander control does to 4 when expanded. Also the background of the content presenter doesn't follow any background color nor is customizable.
To Reproduce
To reproduce just put a ui:CardExpander in any wpf project and set it's Corner Radius value to 20 then expand it and watch it go straight to 4.
Expected behavior
The corner radius will go straight to the hardcoded value of 4.
Screenshots
No response
OS version
Version 10.0.23590 Build 23590
.NET version
.NET Framework 4.8.1
WPF-UI NuGet version
2.1.0
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
Reproduce the issue with a ui:CardExpander in a WPF project, setting Corner Radius to 20 before expanding it. Start by locating the Card Expander's expanded-state handling and content presenter; done when the configured corner radius and an applicable background remain effective while expanded.
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
- 45/100