While working on some custom validators in WPF, one of my employees pointed me to IDataErrorInfo. I have a sample in XAML that has a text box and a button. Based on the value in the text box, I would like the button to be either on or off. My colleague suggested that the IDataErrorInfo extension in the view of my view and writing custom logic for the "Item" and "Error" properties would solve my problem. Before I could include this in my code, it seemed to me that I should understand how IDataError information works, and what is it for implementing this interface, which provides the necessary intercepts to trigger the user verification logic? Some help with this concept will be extremely helpful!
source
share