Cannot set Expander's expand direction as "Right"
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
Cannot set Expander's expand direction as "Right".
To Reproduce
Add an Expander to XAML and set FlowDirection="LeftToRight" ExpandDirection="Right".
Expected behavior
The Expander's expand direction changes from down to right after set ExpandDirection="Right".
Screenshots
Bug:

Expect:

OS version
11
.NET version
6.0
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
Start by reproducing the issue with a WPF UI Expander configured in XAML with FlowDirection="LeftToRight" and ExpandDirection="Right". Trace the Expander control implementation to determine why the visual expansion remains downward; done means the control expands to the right and matches the expected screenshot.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100