68 references to ValidationStep
PresentationFramework (68)
System\Windows\Controls\ConversionValidationRule.cs (1)
24internal ConversionValidationRule() : base(ValidationStep.ConvertedProposedValue, false)
System\Windows\Controls\DataErrorValidationRule.cs (1)
29public DataErrorValidationRule() : base(ValidationStep.UpdatedValue, true)
System\Windows\Controls\NotifyDataErrorValidationRule.cs (1)
25public NotifyDataErrorValidationRule() : base(ValidationStep.UpdatedValue, true)
System\Windows\Controls\ValidationRule.cs (6)
36protected ValidationRule() : this(ValidationStep.RawProposedValue, false) 44protected ValidationRule(ValidationStep validationStep, bool validatesOnTargetUpdated) 59case ValidationStep.UpdatedValue: 60case ValidationStep.CommittedValue: 76public ValidationStep ValidationStep 93ValidationStep _validationStep;
System\Windows\Data\BindingExpression.cs (14)
1550case ValidationStep.RawProposedValue: 1557case ValidationStep.ConvertedProposedValue: 1558case ValidationStep.UpdatedValue: 1559case ValidationStep.CommittedValue: 2045internal override bool Validate(object value, ValidationStep validationStep) 2050if (validationStep == ValidationStep.UpdatedValue) 2078else if (validationStep == ValidationStep.CommittedValue) 2092internal override bool CheckValidationRules(BindingGroup bindingGroup, ValidationStep validationStep) 2100case ValidationStep.RawProposedValue: 2103case ValidationStep.ConvertedProposedValue: 2106case ValidationStep.UpdatedValue: 2107case ValidationStep.CommittedValue: 2129bool isValid = Validate(rawValue, ValidationStep.RawProposedValue); 2145isValid = Validate(convertedValue, ValidationStep.ConvertedProposedValue);
System\Windows\Data\BindingExpressionBase.cs (7)
1072if (!Validate(value, ValidationStep.RawProposedValue)) 1076if (!Validate(value, ValidationStep.ConvertedProposedValue)) 1080if (!Validate(value, ValidationStep.UpdatedValue)) 1084if (!Validate(value, ValidationStep.CommittedValue)) 1151internal virtual bool Validate(object value, ValidationStep validationStep) 1215internal abstract bool CheckValidationRules(BindingGroup bindingGroup, ValidationStep validationStep); 2403internal ValidationError GetValidationErrors(ValidationStep validationStep)
System\Windows\Data\BindingGroup.cs (26)
362bool result = UpdateAndValidate(ValidationStep.CommittedValue); 419return UpdateAndValidate(ValidationStep.ConvertedProposedValue); 434return UpdateAndValidate(ValidationStep.UpdatedValue); 507case ValidationStep.RawProposedValue: 510case ValidationStep.ConvertedProposedValue: 511case ValidationStep.UpdatedValue: 512case ValidationStep.CommittedValue: 524case ValidationStep.RawProposedValue: 525case ValidationStep.ConvertedProposedValue: 526case ValidationStep.UpdatedValue: 527case ValidationStep.CommittedValue: 756void ClearValidationErrors(ValidationStep validationStep) 764ClearValidationErrorsImpl(ValidationStep.RawProposedValue, true); 768void ClearValidationErrorsImpl(ValidationStep validationStep, bool allSteps) 1015bool UpdateAndValidate(ValidationStep validationStep) 1027PrepareProposedValuesForUpdate(mentor, (validationStep >= ValidationStep.UpdatedValue)); 1031for (_validationStep = ValidationStep.RawProposedValue; 1037case ValidationStep.RawProposedValue: 1040case ValidationStep.ConvertedProposedValue: 1043case ValidationStep.UpdatedValue: 1046case ValidationStep.CommittedValue: 1057ResetProposedValuesAfterUpdate(mentor, result && validationStep == ValidationStep.CommittedValue); 1059_validationStep = (ValidationStep)(-1); 1203if (_validationStep >= ValidationStep.UpdatedValue && 1544ValidationStep _validationStep = (ValidationStep)(-1);
System\Windows\Data\MultiBindingExpression.cs (10)
576if (!bindExpr.Validate(value, ValidationStep.RawProposedValue)) 773internal override bool Validate(object value, ValidationStep validationStep) 790case ValidationStep.RawProposedValue: 835internal override bool CheckValidationRules(BindingGroup bindingGroup, ValidationStep validationStep) 843case ValidationStep.RawProposedValue: 844case ValidationStep.ConvertedProposedValue: 845case ValidationStep.UpdatedValue: 846case ValidationStep.CommittedValue: 855if (result && validationStep == ValidationStep.CommittedValue) 874bool isValid = Validate(rawValue, ValidationStep.RawProposedValue);
System\Windows\Data\PriorityBindingExpression.cs (2)
422internal override bool Validate(object value, ValidationStep validationStep) 435internal override bool CheckValidationRules(BindingGroup bindingGroup, ValidationStep validationStep)