WPF Clear Grid

myGrid.Children.Clear(); //will remove all child controls nested in the grid. 
myGrid.RowDefinitions.Clear(); //will remove all row definitions. 
myGrid.ColumnDefinitions.Clear(); //will remove all column definitions.
Nimorum