13 references to OnValidationStateChanged
Microsoft.AspNetCore.Components.Forms (2)
EditContext.cs (1)
89OnValidationStateChanged?.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)
86editContext.OnValidationStateChanged += (sender, eventArgs) => onValidationStateChangedCount++; 116editContext.OnValidationStateChanged += (sender, eventArgs) => onValidationStateChangedCount++; 154editContext.OnValidationStateChanged += (sender, eventArgs) => onValidationStateChangedCount++;
Microsoft.AspNetCore.Components.Web (6)
Forms\InputBase.cs (2)
244EditContext.OnValidationStateChanged += _validationStateChangedHandler; 374EditContext.OnValidationStateChanged -= _validationStateChangedHandler;
Forms\ValidationMessage.cs (2)
63CurrentEditContext.OnValidationStateChanged += _validationStateChangedHandler; 99_previousEditContext.OnValidationStateChanged -= _validationStateChangedHandler;
Forms\ValidationSummary.cs (2)
54CurrentEditContext.OnValidationStateChanged += _validationStateChangedHandler; 108_previousEditContext.OnValidationStateChanged -= _validationStateChangedHandler;
Microsoft.AspNetCore.Components.Web.Tests (2)
Forms\InputBaseTest.cs (2)
290rootComponent.EditContext.OnValidationStateChanged += (sender, eventArgs) => { numValidationStateChanges++; }; 320rootComponent.EditContext.OnValidationStateChanged += (sender, eventArgs) => { numValidationStateChanges++; };