add empty rows and edit arbitrary cells in WPF DataGrid
Posted
by tk
on Stack Overflow
See other posts from Stack Overflow
or by tk
Published on 2010-05-17T03:35:37Z
Indexed on
2010/05/17
3:40 UTC
Read the original article
Hit count: 242
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 ?
© Stack Overflow or respective owner