Event KeyDown | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
Raised when the user presses a key.
Set Handled to true to indicate the key was handled and to prevent additional processing.
public static event EventHandler<Key>? KeyDown
Returns
Raised when the user presses a key. Set to true to indicate the key was handled and to prevent additional processing.
Remarks
All drivers support firing the KeyDown event. Some drivers (Curses) do not support firing theKeyDown and KeyUp events.