Table of Contents

Method GetKeyFromCommands

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

GetKeyFromCommands(params Command[])

Gets the first Key bound to the set of commands specified by commands.

public Key? GetKeyFromCommands(params Command[] commands)

Parameters

commands Command[]

The set of commands to search.

Returns

Key

The first Key bound to the set of commands specified by commands. null if the set of caommands was not found.