I am working on a project where I have implemented MVVM for WPF desktop application. I have a situation where I wanted to make Datagrid editable just like old MS Access table list view. I am binding Datagrid's ItemsSource to ObservableCollection Where Member implements INPC. Now I want to allow users to update member by clicking on any cell of the column, when they navigate to other row or Lost Focus the data should be validated and then saved to the DB.
How to capture such events in my ViewModel and how can I achieve this simple functionality?