Silverlight binding to IsValid & IsDirty

Silverlight binding to IsValid & IsDirty

Old forum URL: forums.lhotka.net/forums/t/7179.aspx


skagen00 posted on Friday, June 26, 2009

I have a scenario:

Root -> BLB -> Child

Deleting a child object doesn't trigger OnChildChanged plus it doesn't cause my button bound to the Root object's IsDirty to enable.

Changing a property on a child object does this - my button becomes enabled.

Have verified that the object is getting removed from the collection and that the root has become "IsDirty". Same thing can be simulated with adding an item to the collection.

This is in Silverlight... I'm sure I can find a workaround but has anyone else experienced this?

Copyright (c) Marimer LLC