How can I implement cancelation of editing an object using MVVM.
For example: I have a list of customers. I choose one customer an click the button \"Edit\", a dialo
Based on Камен Великов's answer:
You can mark your bindings as to be updated manually by defining
in your view (XAML). Then, you have to write the changes from your UI in ViewModel by calling
yourTextBox.GetBindingExpression(TextBox.TextProperty).UpdateSource();
when Save is clicked.
Please note, if there are updated to the binding source triggered from anything else, they are still shown directly in the UI.