lepoco / lepoco/wpfui

Card Expander corner radius hardcoded to 4 in the expanded state. The content presenter doesn't have a dynamic background either.

Open
#867 0 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

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.