I recently find out that wpf handles INotifyPropertyChanged in two different ways. I just wanna know what's the reason.
Let us take a normal twoway binding with validation true.
if you set a property from ui to viewmodel it goes like this.
- setter call started
- value set
- INotifyPropertyChanged started
- INotifyPropertyChanged done
- setter done
- getter called and done
- IDataErrorInfo called and done
but if you set the property in your viewmodel it goes like this
- setter call started
- value set
- INotifyPropertyChanged started
- getter called and done
- IDataErrorInfo called and done
- INotifyPropertyChanged done
- setter done