Table of Contents

Struct KeyBinding

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Provides a collection of Command objects stored in KeyBindings.

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 key binding.

Key

The Key that is bound to the Commands.

Target

The view the key binding is bound to.

See Also