Validation Attached Properties

The Validation type exposes the following members.

  NameDescription
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.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft