Click here to Skip to main content
15,910,277 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
In converting some code from Syste,.Windows.Forms to System.Windows.Controls, I got a couple Qs for the DataGrid control, as stated below:
1) For System.Windows.Controls.DataGrid pDataGrid, how add a Row?
2) For pDataGrid's cell (Row i and Column j), how access it or set its value?
3) For System.Windows.Controls.DataGridRow pDGRow, how to access/set its cell (Column j) value?
Thanks if you can help.

What I have tried:

About System.Windows.Controls.DataGrid and .DataGridRow
Posted

1 solution

All the answers are in the documentation: DataGrid Class (System.Windows.Controls) | Microsoft Learn[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900