#nullable enable namespace Terminal.Gui; /// /// Provides a collection of bound to s. /// /// /// public record struct MouseBinding : IInputBinding { /// Initializes a new instance. /// The commands this mouse binding will invoke. /// The mouse flags that trigger this binding. public MouseBinding (Command [] commands, MouseFlags mouseFlags) { Commands = commands; MouseEventArgs = new MouseEventArgs() { Flags = mouseFlags }; } /// The commands this binding will invoke. public Command [] Commands { get; set; } /// /// The mouse event arguments. /// public MouseEventArgs? MouseEventArgs { get; set; } }