2008-11-17 Jonathan Pobst <monkey@jpobst.com>
authorJonathan Pobst <monkey@jpobst.com>
Mon, 17 Nov 2008 17:06:24 +0000 (17:06 -0000)
committerJonathan Pobst <monkey@jpobst.com>
Mon, 17 Nov 2008 17:06:24 +0000 (17:06 -0000)
commit455f2769722ad90badd6c6ba8bbd6abd87b74831
tree3d491956d1d5ddb601e0bf324cc56e58e7aa8234
parentf65d973bbe1ec7687a9cc414c499cbc60d0d7559
2008-11-17  Jonathan Pobst  <monkey@jpobst.com>

* DataGridView.cs: We should never add actual cells to the RowTemplate.
Internally, use RowTemplateFull to give us a new row with cells.
* DataGridViewColumnCollection.cs: Clear Rows when we clear Columns.
* DataGridViewRowCollection.cs: Use RowTemplateFull.

2008-11-17  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewTest.cs: Add a test showing how RowTemplate works.

svn path=/trunk/mcs/; revision=119060
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridView.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridViewColumnCollection.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridViewRowCollection.cs
mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/DataGridViewTest.cs