1 instantiation of DataErrorValidationRule
PresentationFramework (1)
System\Windows\Controls\DataErrorValidationRule.cs (1)
111
internal static readonly DataErrorValidationRule Instance = new
DataErrorValidationRule
();
9 references to DataErrorValidationRule
PresentationFramework (9)
System\Windows\Controls\DataErrorValidationRule.cs (1)
111
internal static readonly
DataErrorValidationRule
Instance = new DataErrorValidationRule();
System\Windows\Data\BindingBase.cs (2)
432
if (TestFlag(BindingFlags.ValidatesOnDataErrors) && type == typeof(System.Windows.Controls.
DataErrorValidationRule
))
433
return System.Windows.Controls.
DataErrorValidationRule
.Instance;
System\Windows\Data\BindingExpression.cs (4)
1541
if (validationRule is
DataErrorValidationRule
)
1591
validationError = RunValidationRule(
DataErrorValidationRule
.Instance, this, culture);
2057
oldValidationError.RuleInError !=
DataErrorValidationRule
.Instance)
2064
ValidationError error = RunValidationRule(
DataErrorValidationRule
.Instance, this, GetCulture());
System\Windows\Data\BindingExpressionBase.cs (2)
177
if (LookupValidationRule(typeof(
DataErrorValidationRule
)) != null)
1168
oldValidationError.RuleInError ==
DataErrorValidationRule
.Instance)