Export (0) Print
Expand All

Validation Methods

The Validation type exposes the following members.

  Name Description
Public method Static member AddErrorHandler Adds an event handler for the Error attached event to the specified object.
Public method Static member ClearInvalid Removes all ValidationError objects from the specified BindingExpressionBase object.
Public method Static member GetErrors Gets the value of the Errors attached property of the specified element.
Public method Static member GetErrorTemplate Gets the value of the ErrorTemplate attached property of the specified element.
Public method Static member GetHasError Gets the value of the HasError attached property of the specified element.
Public method Static member GetValidationAdornerSite Gets the value of the ValidationAdornerSite attached property for the specified element.
Public method Static member GetValidationAdornerSiteFor Gets the value of the ValidationAdornerSiteFor attached property for the specified element.
Public method Static member MarkInvalid Marks the specified BindingExpression object as invalid with the specified ValidationError object.
Public method Static member RemoveErrorHandler Adds an event handler for the Error attached event from the specified object.
Public method Static member SetErrorTemplate Sets the value of the ErrorTemplate attached property to the specified element.
Public method Static member SetValidationAdornerSite Sets the ValidationAdornerSite attached property to the specified value on the specified element.
Public method Static member SetValidationAdornerSiteFor Sets the ValidationAdornerSiteFor attached property to the specified value on the specified element.
Top
Show:
© 2014 Microsoft