Interface ICommandContext | Terminal.Gui v2 (original) (raw)

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

Describes the context in which a Command is being invoked. CommandContext inherits from this interface. When a Command is invoked, a context object is passed to Command handlers as an ICommandContext reference.

public interface ICommandContext

Properties

Command

The Command that is being invoked.

Source

The View that was the source of the command invocation, if any. (e.g. the view the user clicked on or the view that had focus when a key was pressed).

See Also