Table of Contents

Method GetCommands

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

GetCommands(Key)

Gets the array of Commands bound to key if it exists.

public Command[] GetCommands(Key key)

Parameters

key Key

The key to check.

Returns

Command[]

The array of Commands if key is bound. An empty Command array if not.