Export (0) Print
Expand All
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
Supported by Silverlight for Windows PhoneAddedA new ValidationError has occurred.
Supported by Silverlight for Windows PhoneRemovedAn 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.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

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

Community Additions

ADD
Show:
© 2014 Microsoft