IsDirty Property @ DataWrapper should raise NotifyPropertyChanged

Apr 8, 2010 at 3:54 PM

...see discussion name. I'm using WPF TextBoxes that binds to DataWrapper's DataValue. To visually display any changes I color the Background of my TextBoxes yellow and use style trigger that are "listen" to the IsDirty property.

I achieved the feature by adding a NotifyPropertyChanged("IsDirty") (or better done without "magic strings", sorry for that ;) ) the into the setter of DataValue.

Maybe you "Cinch Heroes" can add it in next revisions, thanks!

 

Greets, Michael

May 4, 2010 at 9:20 AM
Edited May 4, 2010 at 9:21 AM
Done, you can now bind to Datawrappers IsDirty property