Table of Contents

Struct KeyBinding

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Provides a collection of Command objects that are scoped to KeyBindingScope.

public record struct KeyBinding : IEquatable<KeyBinding>
Implements
Inherited Members

Constructors

KeyBinding(Command[], KeyBindingScope, object?)

Initializes a new instance.

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

Initializes a new instance.

Properties

BoundView

The view the key binding is bound to.

Commands

The commands this key binding will invoke.

Context

Arbitrary context that can be associated with this key binding.

Scope

The scope of the Commands.

See Also