Table of Contents

Struct MouseBinding

Namespace
Terminal.Gui.Input
Assembly
Terminal.Gui.dll

Provides a collection of Command objects stored in MouseBindings. Carried as context in command invocations (see CommandContext).

public struct MouseBinding : ICommandBinding, IEquatable<MouseBinding>
Implements
Inherited Members

Constructors

MouseBinding(Command[], Mouse)

Initializes a new instance.

MouseBinding(Command[], MouseFlags, View?)

Initializes a new instance.

Properties

Commands

Gets or sets the commands this command binding will invoke.

Data

Arbitrary context that can be associated with this command binding.

MouseEvent

The mouse event data associated with this binding.

Source

Gets the View that registered the binding as a weak reference.

Methods

Equals(object)
Equals(MouseBinding)
GetHashCode()
ToString()

Operators

operator ==(MouseBinding, MouseBinding)
operator !=(MouseBinding, MouseBinding)

See Also