Resolved How to save cell value of a DataGrid directly when editing?

loris04

New member
Joined
Oct 27, 2020
Messages
3
Programming Experience
1-3
Hello everyone

I have a DataGrid in my WPF application. The cells must be edited.

To save the cell value I have to press "Enter" or jump in another cell. Is there a way to save the value at the "CurrentCellChanged" event? Or can you define it directly in XAML?

Thanks in advance.
 
Solution
Change the binding to be two way and the update source to be triggered by property change instead of the default of lost focus event.
Change the binding to be two way and the update source to be triggered by property change instead of the default of lost focus event.
 
Solution

Latest posts

Back
Top Bottom