Struct KeyBinding | Terminal.Gui v2 (original) (raw)

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

public record struct KeyBinding : IInputBinding, IEquatable<KeyBinding>

Implements

Inherited Members

Constructors

KeyBinding(Command[], object?)

Initializes a new instance.

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

Initializes a new instance.

Properties

Commands

The commands this key binding will invoke.

Data

Arbitrary context that can be associated with this input binding.

Key

The Key that is bound to the Commands.

Target

The view the key binding is bound to.

See Also