Mega Code Archive
Clear All Rows
Grid Column and Row Collections
//File:Window.xaml.cs
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
namespace WpfApplication1
{
public partial class Window1 : Window
{
RowDefinition rowDef1;
ColumnDefinition colDef1;
private void clearRow(object sender, RoutedEventArgs e)
{
grid1.RowDefinitions.Clear();
}
}
}