Table of Contents

Constructor KeyBinding

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

KeyBinding(Command[], object?)

Initializes a new instance.

public KeyBinding(Command[] commands, object? context = null)

Parameters

commands Command[]

The commands this key binding will invoke.

context object

Arbitrary context that can be associated with this key binding.

KeyBinding(Command[], View?, object?)

Initializes a new instance.

public KeyBinding(Command[] commands, View? target, object? data = null)

Parameters

commands Command[]

The commands this key binding will invoke.

target View

The view the key binding is bound to.

data object

Arbitrary data that can be associated with this key binding.