27 references to Validation
PresentationFramework (27)
MS\Internal\Controls\TemplatedAdorner.cs (1)
53control.DataContext = Validation.GetErrors(adornedElement);
MS\Internal\Data\ClrBindingWorker.cs (1)
798Validation.MarkInvalid(ParentBindingExpression, validationError);
System\Windows\Controls\Control.cs (1)
663if (Validation.GetHasError(this))
System\Windows\Controls\Primitives\DataGridRowsPresenter.cs (1)
135Validation.GetHasError(e.UIElement))
System\Windows\Controls\Validation.cs (10)
43typeof(Validation)); 71typeof(ReadOnlyObservableCollection<ValidationError>), typeof(Validation), 103typeof(ValidationErrorCollection), typeof(Validation), 126return (ValidationErrorCollection) target.GetValue(Validation.ValidationErrorsInternalProperty); 134typeof(bool), typeof(Validation), 180typeof(ControlTemplate), typeof(Validation), 226typeof(DependencyObject), typeof(Validation), 292typeof(DependencyObject), typeof(Validation), 525targetElement.SetValue(Validation.ValidationErrorsInternalProperty, validationErrors); 628typeof(TemplatedAdorner), typeof(Validation),
System\Windows\Controls\ValidationErrorEventArgs.cs (1)
42RoutedEvent = Validation.ErrorEvent;
System\Windows\Data\BindingExpressionBase.cs (2)
2391Validation.AddValidationError(validationError, TargetElement, NotifyOnValidationError); 2407Validation.RemoveValidationError(validationError, TargetElement, NotifyOnValidationError);
System\Windows\Data\BindingGroup.cs (6)
294superset = Validation.GetErrorsInternal(mentor); 746Validation.AddValidationError(validationError, mentor, NotifyOnValidationError); 756Validation.RemoveValidationError(validationError, mentor, NotifyOnValidationError); 779ValidationErrorCollection validationErrors = Validation.GetErrorsInternal(mentor); 966if (!Validation.GetHasError(mentor)) 975ReadOnlyCollection<ValidationError> errors = Validation.GetErrors(mentor);
System\Windows\Data\MultiBindingExpression.cs (1)
1357Validation.ClearInvalid(this);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
803case 707: t = () => typeof(Validation); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10867typeof(System.Windows.Controls.Validation),
System\Windows\Markup\KnownTypes.cs (1)
6261case KnownElements.Validation: t = typeof(System.Windows.Controls.Validation); break;