GridSplitter
The GridSplitter control is a control that allows a user to resize the space between Grid rows or columns.
1
<Grid ColumnDefinitions="*, 4, *">
2
<Rectangle Grid.Column="0" Fill="Blue"/>
3
<GridSplitter Grid.Column="1" Background="Black" ResizeDirection="Columns"/>
4
<Rectangle Grid.Column="2" Fill="Red"/>
5
</Grid>
Copied!
GridSplitter in Action for Columns
1
<Grid RowDefinitions="*, 4, *">
2
<Rectangle Grid.Row="0" Fill="Blue"/>
3
<GridSplitter Grid.Row="1" Background="Black" ResizeDirection="Rows"/>
4
<Rectangle Grid.Row="2" Fill="Red"/>
5
</Grid>
Copied!
GridSplitter in Action for Rows

Reference

​GridSplitter​

Source code

​GridSplitter.cs​
Last modified 5mo ago
Export as PDF
Copy link
Edit on GitHub