Editar

Partilhar via


ValidationError.RuleInError Property

Definition

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.

Applies to