แก้ไข

แชร์ผ่าน


INotifyDataErrorInfo.ErrorsChanged Event

Definition

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

public:
 event EventHandler<System::ComponentModel::DataErrorsChangedEventArgs ^> ^ ErrorsChanged;
event EventHandler<System.ComponentModel.DataErrorsChangedEventArgs> ErrorsChanged;
event EventHandler<System.ComponentModel.DataErrorsChangedEventArgs>? ErrorsChanged;
member this.ErrorsChanged : EventHandler<System.ComponentModel.DataErrorsChangedEventArgs> 
Event ErrorsChanged As EventHandler(Of DataErrorsChangedEventArgs) 

Event Type

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.

Applies to