2 Replies
Say, one of my properties depends on another property.
For example, the first name should only be validated if we have an owner, and once the owner is toggled, the first name should be revalidated, to show errors if there are any.
How do I acheieve that?
I'm not even asking about creating a graph of what property depends on what other property, what I want is simply a way to revalidate the whole data source once anything changes
Right now I'm using
IDataErrorInfo
for validation, but the indexer is not called when a property changes
I made a custom extension, feels ok
Of course, for it to be 100% compatible, you'd need to mirror all of the properties
You can't inherit from the binding one, can you?✅ This post has been marked as answered!