The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
Provides methods and attached properties that support data validation and govern the visual state of the control.
public static class Validation
The Validation type exposes the following members.
|Errors||Gets a collection of ValidationError objects associated with the binding target element. |
|HasError||Gets a value that indicates whether any binding on the target element has a validation error. |
|GetErrors||Gets the value of the Errors attached property for the specified element.|
|GetHasError||Gets the value of the HasError attached property for the specified element.|
The Validation class provides support for displaying validation error information by using a control template. For more information about control templates, see ControlTemplate.
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Any public static
in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.