Skip to content

Does WPF UI change the default GridSplitter behavior? #1726

Description

@JHeLiu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions