4 types derived from ValidationRule
PresentationFramework (4)
System\Windows\Controls\ConversionValidationRule.cs (1)
19internal sealed class ConversionValidationRule : ValidationRule
System\Windows\Controls\DataErrorValidationRule.cs (1)
24public sealed class DataErrorValidationRule : ValidationRule
System\Windows\Controls\ExceptionValidationRule.cs (1)
24public sealed class ExceptionValidationRule : ValidationRule
System\Windows\Controls\NotifyDataErrorValidationRule.cs (1)
20public sealed class NotifyDataErrorValidationRule : ValidationRule
39 references to ValidationRule
PresentationFramework (39)
MS\Internal\Controls\ValidationRuleCollection.cs (3)
25internal class ValidationRuleCollection : Collection<ValidationRule> 39protected override void InsertItem(int index, ValidationRule item) 49protected override void SetItem(int index, ValidationRule item)
System\Windows\Controls\DataGrid.cs (7)
85_rowValidationRules = new ObservableCollection<ValidationRule>(); 932public ObservableCollection<ValidationRule> RowValidationRules 952foreach (ValidationRule rule in e.NewItems) 960foreach (ValidationRule rule in e.OldItems) 968foreach (ValidationRule rule in e.OldItems) 973foreach (ValidationRule rule in e.NewItems) 8663private ObservableCollection<ValidationRule> _rowValidationRules; // Stores the row ValidationRule's
System\Windows\Controls\ValidationError.cs (4)
28public ValidationError(ValidationRule ruleInError, object bindingInError, object errorContent, Exception exception) 44public ValidationError(ValidationRule ruleInError, object bindingInError) : this(ruleInError, bindingInError, null, null) 52public ValidationRule RuleInError 111private ValidationRule _ruleInError;
System\Windows\Data\Binding.cs (3)
235public Collection<ValidationRule> ValidationRules 677internal override ValidationRule LookupValidationRule(Type type) 783internal override Collection<ValidationRule> ValidationRulesInternal
System\Windows\Data\BindingBase.cs (5)
379internal virtual Collection<ValidationRule> ValidationRulesInternal 427internal ValidationRule GetValidationRule(Type type) 441internal virtual ValidationRule LookupValidationRule(Type type) 446internal static ValidationRule LookupValidationRule(Type type, Collection<ValidationRule> collection)
System\Windows\Data\BindingExpression.cs (4)
1526Collection<ValidationRule> validationRules = ParentBinding.ValidationRulesInternal; 1537foreach (ValidationRule validationRule in validationRules) 1597ValidationError RunValidationRule(ValidationRule validationRule, object value, CultureInfo culture) 2227ValidationRule exceptionValidationRule = ExceptionValidationRule.Instance;
System\Windows\Data\BindingExpressionBase.cs (5)
1173Collection<ValidationRule> validationRules = ParentBindingBase.ValidationRulesInternal; 1179foreach (ValidationRule validationRule in validationRules) 1621internal ValidationRule LookupValidationRule(Type type) 1623ValidationRule result = ParentBindingBase.GetValidationRule(type); 2306ValidationRule rule = NotifyDataErrorValidationRule.Instance;
System\Windows\Data\BindingGroup.cs (5)
91public Collection<ValidationRule> ValidationRules 985ValidationRule rule = ValidationRules[i]; 1113ValidationRule rule = NotifyDataErrorValidationRule.Instance; 1219ValidationRule rule = _validationRules[i]; 1440Collection<ValidationRule> rules = originalBinding.ValidationRulesInternal;
System\Windows\Data\MultiBinding.cs (3)
235public Collection<ValidationRule> ValidationRules 352internal override ValidationRule LookupValidationRule(Type type) 414internal override Collection<ValidationRule> ValidationRulesInternal