Windows Dev Center

Expand Minimize

ValidationErrorEventAction Enumeration

Describes the reason a BindingValidationError event has occurred.

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

public enum ValidationErrorEventAction

Member nameDescription
AddedA new ValidationError has occurred.
RemovedAn existing ValidationError has been removed.

If a validation error occurs, the binding engine raises the BindingValidationError event. A ValidationError passes to the event handler containing a new Exception and the Action value is Added. If the validation error is resolved, most likely by the user updating the entry with valid information, then the same ValidationError passes to the event handler with the original exception and the Action value is Removed.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft