* DataGridView.cs: Do not add any cells to the FullRowTemplate in RowCount.
FullRowTemplate already contains all the cells.
[Fixes part of bug #486645]
svn path=/trunk/mcs/; revision=129804
+2009-03-19 Ivan N. Zlatev <contact@i-nz.net>
+
+ * DataGridView.cs: Do not add any cells to the FullRowTemplate in RowCount.
+ FullRowTemplate already contains all the cells.
+ [Fixes part of bug #486645]
+
2009-03-19 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs, DataGridViewCellCollection.cs: Split the column removal
for (int i = rows.Count; i < value; i++) {
DataGridViewRow row = (DataGridViewRow) RowTemplateFull;
rows.AddInternal (row, false);
-
- foreach (DataGridViewColumn col in columns)
- row.Cells.Add (col.CellTemplate.Clone () as DataGridViewCell);
}
}
}