ValidationError.RuleInError Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the ValidationRule object that was the cause of this ValidationError, if the error is the result of a validation rule.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public ValidationRule RuleInError { get; set; }

Property Value

Type: System.Windows.Controls.ValidationRule

The ValidationRule object, if the error is the result of a validation rule.

.NET Framework
Available since 3.0
Return to top
Show: