Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #wpf #clear #grid
ADD COMMENT
Topic
Name
3+9 =