Table of Contents

Event KeyDownNotHandled

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Raised when the user has pressed key it wasn't handled by KeyDown and was not bound to a key binding.

public event EventHandler<Key>? KeyDownNotHandled

Returns

EventHandler<Key>
Raised when the user has pressed key it wasn't handled by and was not bound to a key binding.

Remarks

For processing HotKeys and commands, use Command and Add(Key, params Command[])instead.

SubViews can use the KeyDownNotHandled of their super view override the default behavior of when key bindings are invoked.

See for an overview of Terminal.Gui keyboard APIs.