Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides methods and attached properties that support data validation.
public ref class Validation abstract sealed
public static class Validation
type Validation = class
Public Class Validation
For a detailed discussion of the validation process, see "Data Validation" in Data Binding Overview.
Identifies the Error attached event.
Identifies the Errors attached property.
Identifies the ErrorTemplate attached property.
Identifies the HasError attached property.
Identifies the ValidationAdornerSiteFor attached property.
Identifies the ValidationAdornerSite attached property.
Gets the collection of all active ValidationError objects on the bound element.
Gets or sets the ControlTemplate used to generate validation error feedback on the adorner layer.
Gets a value that indicates whether any binding on the binding target element has a ValidationError.
Gets or sets the element that appears to indicate that a validation error occurred on the bound element where this property is set.
Gets or sets the element for which this element appears to indicate that an error occurred.
Occurs when the bound element runs into a validation error, but only for bindings with the NotifyOnValidationError value set to