I am using SavableModelBase<MyClass> to serialize/deserialize to/from XML.
This is very useful and works very well - so first thing off - big THANKS.
Now, I have a property that when it changes I want other properties to change with it. I want it to happen also when I am loading the class from an XML file.
I tired several ways:
- Add the update code inside the property setter but when I load from XML I don't see it being called
- Overriding "OnPropertyChanged" but for some reason this only fires for some properties
- Added a changed event handler in the PropertyData constructor (using datapropchanged template) but this doesn't fire as well.
I assume I am missing something in how the Load function works - maybe it sets some properties directly?
Any hints will be appreciated.