Method KeyDown
KeyDown(IWindowHandle, VirtualKeyCode)
Simulates the key down gesture for the specified key.
Declaration
void KeyDown(IWindowHandle hwnd, VirtualKeyCode keyCode)
Parameters
| Type | Name | Description |
|---|---|---|
| IWindowHandle | hwnd | The window handle for the target window. |
| VirtualKeyCode | keyCode | The WindowsInput.Native.VirtualKeyCode for the key. |