add empty rows and edit arbitrary cells in WPF DataGrid
- by tk
On the DataGridView in WinForms, I can add empty rows and edit the values of arbitrary cells programmatically like below.
dataGridView1.ColumnCount = 10;
dataGridView1.RowCount = 100;
dataGridView1[1, 1].Value = "a";
Can i do this kind of thing in WPF datagrid ?