INotifyDataErrorInfo::ErrorsChanged Event

.NET Framework (current version)

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

Namespace:   System.ComponentModel
Assembly:  System (in System.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.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Available since 4.0
Windows Phone Silverlight
Available since 7.1
Windows Phone
Available since 8.1
Return to top