I have a (simplified) 2x2 grid with three controls inside. Left control stretches on both lines.
<Grid> <Grid.ColumnDefinitions> <ColumnDefinition></ColumnDefinition> <ColumnDefinition></ColumnDefinition> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition></RowDefinition> <RowDefinition></RowDefinition> </Grid.RowDefinitions> <GridSplitter Grid.Row="0" Grid.Column="1" Height="4" Background="Gray" HorizontalAlignment="Stretch" VerticalAlignment="Bottom"></GridSplitter> <GridSplitter Grid.Row="0" Grid.Column="1" Width="4" Background="Gray" Grid.RowSpan="2" HorizontalAlignment="Left" VerticalAlignment="Stretch"></GridSplitter> <Button Grid.Row="0" Grid.Column="0" Grid.RowSpan="2">Content</Button> <Button Grid.Row="0" Grid.Column="1">Content</Button> <Button Grid.Row="1" Grid.Column="1">Content</Button> </Grid>
I cannot understand why these splitters do not work.
source share