Is there a built in version of PropertyChangedEventArgs that includes the old/new value?
No. There is no new/old value tracking within the framework's PropertyChangedEventArgs. You could of course sub-class it.
As an exercise though, you might like to implement an adapter that works with INotifyPropertyChanged
in conjunction with INotifyPropertyChanging
to capture the before/after values and send them on that way.
In WPF, the norm is for dependency properties to raise their change notifications with new/old values though.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With