Table of Contents

Method RaiseHandlingHotKey

Namespace
Terminal.Gui.ViewBase
Assembly
Terminal.Gui.dll

RaiseHandlingHotKey(ICommandContext?)

Called when the View is handling the user pressing the View's HotKeys. Calls OnHandlingHotKey(CommandEventArgs) which can be cancelled; if not cancelled raises Accepting. event. The default HotKey handler calls this method.

protected bool? RaiseHandlingHotKey(ICommandContext? ctx)

Parameters

ctx ICommandContext

The context to pass with the command.

Returns

bool?

null if no event was raised; input processing should continue. false if the event was raised and was not handled (or cancelled); input processing should continue. true if the event was raised and handled (or cancelled); input processing should stop.