O'Reilly logo
  • Daniel McQuillen thinks this is interesting:

Finally, it calls the Synchronize method to specify that this is the new, unedited version of the object and notifies the WPF Framework of a change to the HasChanges property.


Cover of Mastering Windows Presentation Foundation


Is this step necessary? We just copied original values, and in the next line we'll do the HasChanges notify. Why synchronize()?