Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Validation Attached Properties

Validation Attached Properties

The Validation type exposes the following members.

Public attached property Errors Gets the collection of all active ValidationError objects on the bound element.
Public attached property ErrorTemplate Gets or sets the ControlTemplate used to generate validation error feedback on the adorner layer.
Public attached property HasError Gets a value that indicates whether any binding on the binding target element has a ValidationError.
Public attached property ValidationAdornerSite Gets or sets the element that appears to indicate that a validation error occurred on the bound element where this property is set.
Public attached property ValidationAdornerSiteFor Gets or sets the element for which this element appears to indicate that an error occurred.

Community Additions

© 2015 Microsoft