I am trying to use a GridSplitter that will split between rows in a grid, but I'm having some trouble with it.
I've defined the 'ResizeDirection' attribute of the GridSplitter to be 'rows', but the GridSplitter stays a vertical one instead of becoming a horizontal one.
I created a simple example for showing my problem.
What am I doing wrong?
Code:
<Grid>
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <Button Grid.Row="0"
                Grid.Column="0"
                Content="0,0"/>
        <GridSplitter Grid.Row="0"
                      ResizeDirection="Rows"
                      Width="5"
                      Background="Red"/>
        <Button Grid.Row="1"
                Grid.Column="0"
                Content="0,1"/>
</Grid>