5 instantiations of ValidationResult
PresentationFramework (3)
src\Framework\System\Windows\Controls\DataErrorValidationRule.cs (2)
65
return new
ValidationResult
(false, error);
119
return new
ValidationResult
(false, error);
src\Framework\System\Windows\Controls\ValidationResult.cs (1)
133
private static readonly ValidationResult s_valid = new
ValidationResult
(true, null);
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (2)
845
return new
ValidationResult
(false, errorMessage);
851
return new
ValidationResult
(true, null);
24 references to ValidationResult
PresentationFramework (23)
src\Framework\System\Windows\Controls\ConversionValidationRule.cs (2)
39
public override
ValidationResult
Validate(object value, CultureInfo cultureInfo)
41
return
ValidationResult
.ValidResult;
src\Framework\System\Windows\Controls\DataErrorValidationRule.cs (2)
44
public override
ValidationResult
Validate(object value, CultureInfo cultureInfo)
126
return
ValidationResult
.ValidResult;
src\Framework\System\Windows\Controls\ExceptionValidationRule.cs (2)
46
public override
ValidationResult
Validate(object value, CultureInfo cultureInfo)
48
return
ValidationResult
.ValidResult;
src\Framework\System\Windows\Controls\NotifyDataErrorValidationRule.cs (2)
44
public override
ValidationResult
Validate(object value, CultureInfo cultureInfo)
50
return
ValidationResult
.ValidResult;
src\Framework\System\Windows\Controls\ValidationResult.cs (8)
64
public static
ValidationResult
ValidResult
78
public static bool operator == (
ValidationResult
left,
ValidationResult
right)
89
public static bool operator != (
ValidationResult
left,
ValidationResult
right)
111
ValidationResult
vr = obj as
ValidationResult
;
133
private static readonly
ValidationResult
s_valid = new ValidationResult(true, null);
src\Framework\System\Windows\Controls\ValidationRule.cs (3)
61
public abstract
ValidationResult
Validate(object value, CultureInfo cultureInfo);
63
public virtual
ValidationResult
Validate(object value, CultureInfo cultureInfo, BindingExpressionBase owner)
76
public virtual
ValidationResult
Validate(object value, CultureInfo cultureInfo, BindingGroup owner)
src\Framework\System\Windows\Data\BindingExpression.cs (1)
1595
ValidationResult
validationResult = validationRule.Validate(value, culture, this);
src\Framework\System\Windows\Data\BindingExpressionBase.cs (1)
1195
ValidationResult
validationResult = validationRule.Validate(value, culture, this);
src\Framework\System\Windows\Data\BindingGroup.cs (2)
997
ValidationResult
validationResult = rule.Validate(DependencyProperty.UnsetValue, culture, this);
1231
ValidationResult
validationResult = rule.Validate(DependencyProperty.UnsetValue, culture, this);
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (1)
814
public override
ValidationResult
Validate(object value, CultureInfo cultureInfo)