2
votes

I am working on WPF datagrid control. Binding the data from code behind using a dataset/XML. I want to edit the cell of the grid and capture the new value which the user has entered. Is there a code sample to show how to do that?

What event should I use and which property of datagrid (if any) should I use, selecteditem or selectedcell?

(I am kind of new to WPF datagrid control, so I apologize if this is kind of kiddish...)

1

1 Answers

0
votes

You can use CellEditEnding and RowEditEnding. You can access the respective row and its Item from the event arguments.