1 instantiation of DataErrorValidationRule
PresentationFramework (1)
src\Framework\System\Windows\Controls\DataErrorValidationRule.cs (1)
129
internal static readonly DataErrorValidationRule Instance = new
DataErrorValidationRule
();
9 references to DataErrorValidationRule
PresentationFramework (9)
src\Framework\System\Windows\Controls\DataErrorValidationRule.cs (1)
129
internal static readonly
DataErrorValidationRule
Instance = new DataErrorValidationRule();
src\Framework\System\Windows\Data\BindingBase.cs (2)
437
if (TestFlag(BindingFlags.ValidatesOnDataErrors) && type == typeof(System.Windows.Controls.
DataErrorValidationRule
))
438
return System.Windows.Controls.
DataErrorValidationRule
.Instance;
src\Framework\System\Windows\Data\BindingExpression.cs (4)
1535
if (validationRule is
DataErrorValidationRule
)
1585
validationError = RunValidationRule(
DataErrorValidationRule
.Instance, this, culture);
2080
oldValidationError.RuleInError !=
DataErrorValidationRule
.Instance)
2087
ValidationError error = RunValidationRule(
DataErrorValidationRule
.Instance, this, GetCulture());
src\Framework\System\Windows\Data\BindingExpressionBase.cs (2)
188
if (LookupValidationRule(typeof(
DataErrorValidationRule
)) != null)
1180
oldValidationError.RuleInError ==
DataErrorValidationRule
.Instance)