Table of Contents

Method GetCommands

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

GetCommands(TEvent)

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

public Command[] GetCommands(TEvent eventArgs)

Parameters

eventArgs TEvent

The TEvent to check.

Returns

Command[]

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