This topic has not yet been rated - Rate this topic

ValidationError Properties

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

The ValidationError type exposes the following members.

  Name Description
Public property BindingInError Gets the BindingExpression or MultiBindingExpression object of this ValidationError. The object is either marked invalid explicitly or has a failed validation rule.
Public property ErrorContent Gets or sets an object that provides additional context for this ValidationError, such as a string describing the error.
Public property Exception Gets or sets the Exception object that was the cause of this ValidationError, if the error is the result of an exception.
Public property RuleInError Gets or sets the ValidationRule object that was the cause of this ValidationError, if the error is the result of a validation rule.
Top
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.