How do I clone a DataGridViewCell? I Have tested the fallowing:
Expand|Select|Wrap|Line Numbers
- MyCostomRow row = r.Clone();
- for (Int32 index = 0; index < r.Cells.Count; index++)
- {
- row.Cells[index] = (DataGridViewCell)r.Cells[index].Clone();
- }
In some of the cells i use customCells but not even the regular cells simes to be cloned?