Present since the Windows Phone 7.1 SDK is the
INotifyDataErrorInfo interface, which is also present in Silverlight 4. This new API eliminates the need to rely on exceptions to indicate invalid property values. In addition, implementing
INotifyDataErrorInfo makes it possible to evaluate the validity of a property on a secondary thread.
INotifyDataErrorInfo interface contains three is used to determine whether the control contains validation errors. The
GetErrors method returns all errors that are detected, and the
ErrorsChanged event notifies listeners when an error has been added or removed from the set of known errors.