lepoco / lepoco/wpfui

Cannot set Expander's expand direction as "Right"

Open
#475 2 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

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:

image

Expect:

image

OS version

11

.NET version

6.0

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.