It seems I can't use GridSplitter
to resize next item. Here is xaml:
<Grid>
<!-- this works -->
<Grid Background="Gray" HorizontalAlignment="Left">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="100" />
<ColumnDefinition Width="auto" />
<ColumnDefinition Width="auto" />
</Grid.ColumnDefinitions>
<GridSplitter Grid.Column="1" Width="10" ResizeBehavior="PreviousAndNext" />
</Grid>
<!-- this doesn't -->
<Grid Background="Gray" HorizontalAlignment="Right">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="auto" />
<ColumnDefinition Width="auto" />
<ColumnDefinition Width="100" />
</Grid.ColumnDefinitions>
<GridSplitter Grid.Column="1" Width="10" ResizeBehavior="PreviousAndNext" />
</Grid>
</Grid>
and demo:
Notice what left Grid
can be resized, while right one has some issues. You can try given xaml yourself to see what I mean.
What should I do to make next item resizing working?