INotifyDataErrorInfo::ErrorsChanged Event

.NET Framework 4.6 and 4.5

Occurs when the validation errors have changed for a property or for the entire entity.

Namespace:  System.ComponentModel
Assemblies:   System (in System.dll)
  System.ObjectModel (in System.ObjectModel.dll)

event EventHandler<DataErrorsChangedEventArgs^>^ ErrorsChanged {
	void add (EventHandler<DataErrorsChangedEventArgs^>^ value);
	void remove (EventHandler<DataErrorsChangedEventArgs^>^ value);
}

The implementing class should raise this event on the user interface thread whenever the GetErrors return value changes, even if the return value implements INotifyCollectionChanged.

.NET Framework

Supported in: 4.6, 4.5

.NET for Windows Phone apps

Supported in: Windows Phone 8.1, Windows Phone Silverlight 8.1, Windows Phone Silverlight 8

Portable Class Library

Supported in: Portable Class Library
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft