Does WPF UI change the default GridSplitter behavior?
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
GridSplitter does not update Grid column sizes when dragged horizontally in WPF UI. Is this expected behavior or a style override?
To Reproduce
<Grid Margin="0,6,6,6">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="200" />
<ColumnDefinition Width="auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Border
Grid.Column="0"
</Border>
<GridSplitter Grid.Column="1" Width="1" />
<Border
Grid.Column="2"
</Border>
</Grid>
Expected behavior
Expected behavior:
The GridSplitter should retain its default WPF behavior and correctly resize adjacent Grid columns when dragged horizontally.
Screenshots
No response
OS version
WIN11
.NET version
10
WPF-UI NuGet version
4.3.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 using the provided Grid and GridSplitter sample on Windows 11 with .NET 10 and WPF-UI 4.3.0. Compare the result with default WPF behavior and inspect the WPF-UI styling or control resources that apply to GridSplitter; done means adjacent columns resize horizontally as expected or the behavior is confirmed and documented.
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
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100