Method GetFirstFromCommands | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
GetFirstFromCommands(params Command[])
Gets the first matching TEvent
bound to the set of commands specified bycommands
.
public TEvent? GetFirstFromCommands(params Command[] commands)
Parameters
commands
Command[]
The set of commands to search.
Returns
TEvent
The first matching TEvent
bound to the set of commands specified bycommands
. null if the set of caommands was not found.