Table of Contents

Method AddCommand

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

AddCommand(Command, Func<bool?>)

States that the given View supports a given command and what f to perform to make that command happen

If the command already has an implementation the f will replace the old one

protected void AddCommand(Command command, Func<bool?> f)

Parameters

command Command

The command.

f Func<bool?>

The function.