INotifyDataErrorInfo.ErrorsChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when the validation errors for the property or entity change.
// Register
event_token ErrorsChanged(EventHandler<DataErrorsChangedEventArgs> const& handler) const;
// Revoke with event_token
void ErrorsChanged(event_token const* cookie) const;
// Revoke with event_revoker
INotifyDataErrorInfo::ErrorsChanged_revoker ErrorsChanged(auto_revoke_t, EventHandler<DataErrorsChangedEventArgs> const& handler) const;
event System.EventHandler<DataErrorsChangedEventArgs> ErrorsChanged;
function onErrorsChanged(eventArgs) { /* Your code */ }
iNotifyDataErrorInfo.addEventListener("errorschanged", onErrorsChanged);
iNotifyDataErrorInfo.removeEventListener("errorschanged", onErrorsChanged);
- or -
iNotifyDataErrorInfo.onerrorschanged = onErrorsChanged;
Event ErrorsChanged As EventHandler(Of DataErrorsChangedEventArgs)