ValidationErrorEventAction Enumeration
Collapse the table of content
Expand the table of content

ValidationErrorEventAction Enumeration

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

© 2017 Microsoft