15 references to ValidationError
PresentationFramework (15)
System\Windows\Controls\ValidationError.cs (1)
46
public ValidationError(ValidationRule ruleInError, object bindingInError) :
this
(ruleInError, bindingInError, null, null)
System\Windows\Data\BindingExpression.cs (4)
1627
error = new
ValidationError
(validationRule, this, validationResult.ErrorContent, null);
1955
ValidationError validationError = new
ValidationError
(ConversionValidationRule.Instance, this, SR.Format(SR.Validation_ConversionFailed, rawValue), null);
2240
validationError = new
ValidationError
(exceptionValidationRule, this, ex.Message, ex);
2244
validationError = new
ValidationError
(exceptionValidationRule, this, filteredException, ex);
System\Windows\Data\BindingExpressionBase.cs (2)
1204
UpdateValidationError( new
ValidationError
(validationRule, this, validationResult.ErrorContent, null));
2325
ValidationError veAdd = new
ValidationError
(rule, this, o, null);
System\Windows\Data\BindingGroup.cs (7)
998
AddValidationError(new
ValidationError
(rule, this, validationResult.ErrorContent, null));
1003
AddValidationError(new
ValidationError
(rule, this, vue.Message, vue));
1125
ValidationError veAdd = new
ValidationError
(rule, this, o, null);
1232
AddValidationError(new
ValidationError
(rule, this, validationResult.ErrorContent, null));
1238
AddValidationError(new
ValidationError
(rule, this, vue.Message, vue));
1274
ValidationError error = new
ValidationError
(ExceptionValidationRule.Instance, this, ex.Message, ex);
1479
ValidationError newError = new
ValidationError
(
System\Windows\Data\MultiBindingExpression.cs (1)
501
ValidationError validationError = new
ValidationError
(ConversionValidationRule.Instance, this, SR.Format(SR.Validation_ConversionFailed, value), null);