AngleSharp by Florian Rappl

<PackageReference Include="AngleSharp" Version="0.6.1" />

 IKeyboardEvent

public interface IKeyboardEvent : IUiEvent, IEvent
Represents the event arguments for a keyboard event.
bool IsAltPressed { get; }

Gets if the alt key is pressed.

bool IsCtrlPressed { get; }

Gets if the control key is pressed.

bool IsMetaPressed { get; }

Gets if the meta key is pressed.

bool IsRepeated { get; }

Gets if the key press was repeated.

bool IsShiftPressed { get; }

Gets if the shift key is pressed.

string Key { get; }

Gets string representation of the pressed key.

string Locale { get; }

Gets the locale of the keyboard.

Gets the location of the keyboard that initiated the event.

bool GetModifierState(string key)

Returns the current state of the specified modifier key.

void Init(string type, bool bubbles, bool cancelable, IWindow view, int detail, string key, KeyboardLocation location, string modifiersList, bool repeat)

Initializes the keyboard event.