27 references to Validation
PresentationFramework (27)
src\Framework\MS\Internal\Controls\TemplatedAdorner.cs (1)
59control.DataContext = Validation.GetErrors(adornedElement);
src\Framework\MS\Internal\Data\ClrBindingWorker.cs (1)
797Validation.MarkInvalid(ParentBindingExpression, validationError);
src\Framework\System\Windows\Controls\Control.cs (1)
664if (Validation.GetHasError(this))
src\Framework\System\Windows\Controls\Primitives\DataGridRowsPresenter.cs (1)
136Validation.GetHasError(e.UIElement))
src\Framework\System\Windows\Controls\Validation.cs (10)
51typeof(Validation)); 79typeof(ReadOnlyObservableCollection<ValidationError>), typeof(Validation), 112typeof(ValidationErrorCollection), typeof(Validation), 135return (ValidationErrorCollection) target.GetValue(Validation.ValidationErrorsInternalProperty); 143typeof(bool), typeof(Validation), 190typeof(ControlTemplate), typeof(Validation), 238typeof(DependencyObject), typeof(Validation), 306typeof(DependencyObject), typeof(Validation), 520targetElement.SetValue(Validation.ValidationErrorsInternalProperty, validationErrors); 623typeof(TemplatedAdorner), typeof(Validation),
src\Framework\System\Windows\Controls\ValidationErrorEventArgs.cs (1)
48RoutedEvent = Validation.ErrorEvent;
src\Framework\System\Windows\Data\BindingExpressionBase.cs (2)
2382Validation.AddValidationError(validationError, TargetElement, NotifyOnValidationError); 2398Validation.RemoveValidationError(validationError, TargetElement, NotifyOnValidationError);
src\Framework\System\Windows\Data\BindingGroup.cs (6)
296superset = Validation.GetErrorsInternal(mentor); 748Validation.AddValidationError(validationError, mentor, NotifyOnValidationError); 758Validation.RemoveValidationError(validationError, mentor, NotifyOnValidationError); 781ValidationErrorCollection validationErrors = Validation.GetErrorsInternal(mentor); 968if (!Validation.GetHasError(mentor)) 977ReadOnlyCollection<ValidationError> errors = Validation.GetErrors(mentor);
src\Framework\System\Windows\Data\MultiBindingExpression.cs (1)
1348Validation.ClearInvalid(this);
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
799case 707: t = () => typeof(Validation); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10863typeof(System.Windows.Controls.Validation),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
6251case KnownElements.Validation: t = typeof(System.Windows.Controls.Validation); break;