wpf clear grid

98

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.

Comments

Submit
0 Comments