2 instantiations of KeyboardEventArgs
Microsoft.AspNetCore.Components.Web (1)
WebEventData\KeyboardEventArgsReader.cs (1)
25var eventArgs = new KeyboardEventArgs();
Microsoft.AspNetCore.Components.Web.Tests (1)
WebEventData\KeyboardEventArgsReaderTest.cs (1)
14var args = new KeyboardEventArgs
14 references to KeyboardEventArgs
Aspire.Dashboard (1)
Components\Controls\AspireMenuButton.razor.cs (1)
54private void OnKeyDown(KeyboardEventArgs args)
Microsoft.AspNetCore.Components.Web (11)
Web\EventHandlers.cs (3)
40[EventHandler("onkeydown", typeof(KeyboardEventArgs), true, true)] 41[EventHandler("onkeyup", typeof(KeyboardEventArgs), true, true)] 42[EventHandler("onkeypress", typeof(KeyboardEventArgs), true, true)]
Web\WebEventCallbackFactoryEventArgsExtensions.cs (6)
148public static EventCallback<KeyboardEventArgs> Create(this EventCallbackFactory factory, object receiver, Action<KeyboardEventArgs> callback) 152return factory.Create<KeyboardEventArgs>(receiver, callback); 164public static EventCallback<KeyboardEventArgs> Create(this EventCallbackFactory factory, object receiver, Func<KeyboardEventArgs, Task> callback) 168return factory.Create<KeyboardEventArgs>(receiver, callback);
WebEventData\KeyboardEventArgsReader.cs (2)
23internal static KeyboardEventArgs Read(JsonElement jsonElement) 25var eventArgs = new KeyboardEventArgs();
Microsoft.AspNetCore.Components.Web.Tests (2)
WebEventData\KeyboardEventArgsReaderTest.cs (2)
14var args = new KeyboardEventArgs 31var result = KeyboardEventArgsReader.Read(jsonElement);