13 references to OnValidationStateChanged
Microsoft.AspNetCore.Components.Forms (2)
EditContext.cs (1)
89
OnValidationStateChanged
?.Invoke(this, ValidationStateChangedEventArgs.Empty);
ValidationStateChangedEventArgs.cs (1)
7
/// Provides information about the <see cref="EditContext.
OnValidationStateChanged
"/> event.
Microsoft.AspNetCore.Components.Forms.Tests (3)
EditContextDataAnnotationsExtensionsTest.cs (3)
86
editContext.
OnValidationStateChanged
+= (sender, eventArgs) => onValidationStateChangedCount++;
116
editContext.
OnValidationStateChanged
+= (sender, eventArgs) => onValidationStateChangedCount++;
154
editContext.
OnValidationStateChanged
+= (sender, eventArgs) => onValidationStateChangedCount++;
Microsoft.AspNetCore.Components.Web (6)
Forms\InputBase.cs (2)
244
EditContext.
OnValidationStateChanged
+= _validationStateChangedHandler;
374
EditContext.
OnValidationStateChanged
-= _validationStateChangedHandler;
Forms\ValidationMessage.cs (2)
63
CurrentEditContext.
OnValidationStateChanged
+= _validationStateChangedHandler;
99
_previousEditContext.
OnValidationStateChanged
-= _validationStateChangedHandler;
Forms\ValidationSummary.cs (2)
54
CurrentEditContext.
OnValidationStateChanged
+= _validationStateChangedHandler;
108
_previousEditContext.
OnValidationStateChanged
-= _validationStateChangedHandler;
Microsoft.AspNetCore.Components.Web.Tests (2)
Forms\InputBaseTest.cs (2)
290
rootComponent.EditContext.
OnValidationStateChanged
+= (sender, eventArgs) => { numValidationStateChanges++; };
320
rootComponent.EditContext.
OnValidationStateChanged
+= (sender, eventArgs) => { numValidationStateChanges++; };