The Add method of Grid.RowDefinitions adds a new row to a
Grid.
DynamicGrid.RowDefinitions.Add(new RowDefinition());
The Grid.RowDefinitions.Insert method adds a row at a given
position.
DynamicGrid.RowDefinitions.Insert(3, new RowDefinition
());
The RemoveAt method of Grid.RowDefinitions deletes a row at
the given position.
DynamicGrid.RowDefinitions.RemoveAt(3);
The Clear method of Grid.RowDefinitions deletes all rows in
a Grid.
DynamicGrid.RowDefinitions.Clear();