3 instantiations of ValidationResult
PresentationFramework (3)
System\Windows\Controls\DataErrorValidationRule.cs (2)
57
return new
ValidationResult
(false, error);
101
return new
ValidationResult
(false, error);
System\Windows\Controls\ValidationResult.cs (1)
123
private static readonly ValidationResult s_valid = new
ValidationResult
(true, null);
23 references to ValidationResult
PresentationFramework (23)
System\Windows\Controls\ConversionValidationRule.cs (2)
31
public override
ValidationResult
Validate(object value, CultureInfo cultureInfo)
33
return
ValidationResult
.ValidResult;
System\Windows\Controls\DataErrorValidationRule.cs (2)
36
public override
ValidationResult
Validate(object value, CultureInfo cultureInfo)
108
return
ValidationResult
.ValidResult;
System\Windows\Controls\ExceptionValidationRule.cs (2)
36
public override
ValidationResult
Validate(object value, CultureInfo cultureInfo)
38
return
ValidationResult
.ValidResult;
System\Windows\Controls\NotifyDataErrorValidationRule.cs (2)
32
public override
ValidationResult
Validate(object value, CultureInfo cultureInfo)
38
return
ValidationResult
.ValidResult;
System\Windows\Controls\ValidationResult.cs (8)
54
public static
ValidationResult
ValidResult
68
public static bool operator == (
ValidationResult
left,
ValidationResult
right)
79
public static bool operator != (
ValidationResult
left,
ValidationResult
right)
101
ValidationResult
vr = obj as
ValidationResult
;
123
private static readonly
ValidationResult
s_valid = new ValidationResult(true, null);
System\Windows\Controls\ValidationRule.cs (3)
53
public abstract
ValidationResult
Validate(object value, CultureInfo cultureInfo);
55
public virtual
ValidationResult
Validate(object value, CultureInfo cultureInfo, BindingExpressionBase owner)
68
public virtual
ValidationResult
Validate(object value, CultureInfo cultureInfo, BindingGroup owner)
System\Windows\Data\BindingExpression.cs (1)
1601
ValidationResult
validationResult = validationRule.Validate(value, culture, this);
System\Windows\Data\BindingExpressionBase.cs (1)
1183
ValidationResult
validationResult = validationRule.Validate(value, culture, this);
System\Windows\Data\BindingGroup.cs (2)
990
ValidationResult
validationResult = rule.Validate(DependencyProperty.UnsetValue, culture, this);
1224
ValidationResult
validationResult = rule.Validate(DependencyProperty.UnsetValue, culture, this);