0

Catel's ModelBase supports an IsDirty property that changes if any property has changed. Is there a mechanism to check for each property changing? ModelBase implements something like this internally for the IEditableObject implementation using BackupData. Is there a clean way to expose whether a single property has changed?

JJS
  • 6,431
  • 1
  • 54
  • 70

1 Answers1

0

Catel doesn't track actual field changes which are exposed to the outside. It should be fairly easy to implement a ModelChangeTracker which uses a combination of IEditableObject (to reset dirty states) and INotifyPropertyChanged.

You can implement it and create a pull request or request the feature at the official issue tracker:

http://www.catelproject.com/support/issue-tracker

Geert van Horrik
  • 5,689
  • 1
  • 18
  • 32