2008-11-17 Jonathan Pobst <monkey@jpobst.com>
commitc99065b1c6e1d026651eeb735172ccfa9c33c7da
authorjpobst <jpobst@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Mon, 17 Nov 2008 17:06:24 +0000 (17 17:06 +0000)
committerjpobst <jpobst@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Mon, 17 Nov 2008 17:06:24 +0000 (17 17:06 +0000)
treeb3f67773bccffc948f62fb985b24de49111f5f60
parent17b18ae633d0e57f6c5d7f0f3087e4db06a2a130
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.

git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mcs@119060 e3ebcda4-bce8-0310-ba0a-eca2169e7518
class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
class/Managed.Windows.Forms/System.Windows.Forms/DataGridView.cs
class/Managed.Windows.Forms/System.Windows.Forms/DataGridViewColumnCollection.cs
class/Managed.Windows.Forms/System.Windows.Forms/DataGridViewRowCollection.cs
class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
class/Managed.Windows.Forms/Test/System.Windows.Forms/DataGridViewTest.cs