1 instantiation of DataErrorValidationRule
PresentationFramework (1)
System\Windows\Controls\DataErrorValidationRule.cs (1)
125
internal static readonly DataErrorValidationRule Instance = new
DataErrorValidationRule
();
9 references to DataErrorValidationRule
PresentationFramework (9)
System\Windows\Controls\DataErrorValidationRule.cs (1)
125
internal static readonly
DataErrorValidationRule
Instance = new DataErrorValidationRule();
System\Windows\Data\BindingBase.cs (2)
434
if (TestFlag(BindingFlags.ValidatesOnDataErrors) && type == typeof(System.Windows.Controls.
DataErrorValidationRule
))
435
return System.Windows.Controls.
DataErrorValidationRule
.Instance;
System\Windows\Data\BindingExpression.cs (4)
1550
if (validationRule is
DataErrorValidationRule
)
1600
validationError = RunValidationRule(
DataErrorValidationRule
.Instance, this, culture);
2100
oldValidationError.RuleInError !=
DataErrorValidationRule
.Instance)
2107
ValidationError error = RunValidationRule(
DataErrorValidationRule
.Instance, this, GetCulture());
System\Windows\Data\BindingExpressionBase.cs (2)
185
if (LookupValidationRule(typeof(
DataErrorValidationRule
)) != null)
1176
oldValidationError.RuleInError ==
DataErrorValidationRule
.Instance)