ValidationError.RuleInError Property
Definition
Important
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.
Gets or sets the ValidationRule object that was the cause of this ValidationError, if the error is the result of a validation rule.
public:
property System::Windows::Controls::ValidationRule ^ RuleInError { System::Windows::Controls::ValidationRule ^ get(); void set(System::Windows::Controls::ValidationRule ^ value); };
public System.Windows.Controls.ValidationRule RuleInError { get; set; }
member this.RuleInError : System.Windows.Controls.ValidationRule with get, set
Public Property RuleInError As ValidationRule
Property Value
The ValidationRule object, if the error is the result of a validation rule.