3 instantiations of ValidationResult
PresentationFramework (3)
System\Windows\Controls\DataErrorValidationRule.cs (2)
61
return new
ValidationResult
(false, error);
115
return new
ValidationResult
(false, error);
System\Windows\Controls\ValidationResult.cs (1)
125
private static readonly ValidationResult s_valid = new
ValidationResult
(true, null);
23 references to ValidationResult
PresentationFramework (23)
System\Windows\Controls\ConversionValidationRule.cs (2)
34
public override
ValidationResult
Validate(object value, CultureInfo cultureInfo)
36
return
ValidationResult
.ValidResult;
System\Windows\Controls\DataErrorValidationRule.cs (2)
40
public override
ValidationResult
Validate(object value, CultureInfo cultureInfo)
122
return
ValidationResult
.ValidResult;
System\Windows\Controls\ExceptionValidationRule.cs (2)
39
public override
ValidationResult
Validate(object value, CultureInfo cultureInfo)
41
return
ValidationResult
.ValidResult;
System\Windows\Controls\NotifyDataErrorValidationRule.cs (2)
40
public override
ValidationResult
Validate(object value, CultureInfo cultureInfo)
46
return
ValidationResult
.ValidResult;
System\Windows\Controls\ValidationResult.cs (8)
56
public static
ValidationResult
ValidResult
70
public static bool operator == (
ValidationResult
left,
ValidationResult
right)
81
public static bool operator != (
ValidationResult
left,
ValidationResult
right)
103
ValidationResult
vr = obj as
ValidationResult
;
125
private static readonly
ValidationResult
s_valid = new ValidationResult(true, null);
System\Windows\Controls\ValidationRule.cs (3)
54
public abstract
ValidationResult
Validate(object value, CultureInfo cultureInfo);
56
public virtual
ValidationResult
Validate(object value, CultureInfo cultureInfo, BindingExpressionBase owner)
69
public virtual
ValidationResult
Validate(object value, CultureInfo cultureInfo, BindingGroup owner)
System\Windows\Data\BindingExpression.cs (1)
1610
ValidationResult
validationResult = validationRule.Validate(value, culture, this);
System\Windows\Data\BindingExpressionBase.cs (1)
1191
ValidationResult
validationResult = validationRule.Validate(value, culture, this);
System\Windows\Data\BindingGroup.cs (2)
995
ValidationResult
validationResult = rule.Validate(DependencyProperty.UnsetValue, culture, this);
1229
ValidationResult
validationResult = rule.Validate(DependencyProperty.UnsetValue, culture, this);