How to Resize WPF Grid Rows with a GridSplitter?

Soft Dev Jun 10, 2009
Resize WPF Grid Rows using of Grid Splitter, by the help of Grid Splitter we can give the size to the rows.

The following code snippet adds a Grid splitter to a Grid that you can use to resize a Grid row.

<Grid Name="DynamicGrid" Width="466" Background="LightSteelBlue" ShowGridLines="True"

          Canvas.Top="119" Canvas.Left="8" Height="200">


            <ColumnDefinition />

            <ColumnDefinition />

            <ColumnDefinition />



            <RowDefinition Height="50*" />

                <RowDefinition Height="Auto" />

                <RowDefinition Height="50*" />