INotifyDataErrorInfo.ErrorsChanged Event

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

Namespace:  System.ComponentModel
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Event ErrorsChanged As EventHandler(Of DataErrorsChangedEventArgs)
event EventHandler<DataErrorsChangedEventArgs> ErrorsChanged

Remarks

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.

Examples

For an example of an implementation of this event, see the INotifyDataErrorInfo class overview.

Version Information

Silverlight

Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.