namespace Terminal.Gui; /// Args related events. public class GrabMouseEventArgs : EventArgs { /// Creates a new instance of the class. /// The view that the event is about. public GrabMouseEventArgs (View view) { View = view; } /// /// Flag that allows the cancellation of the event. If set to in the event handler, the /// event will be canceled. /// public bool Cancel { get; set; } /// Gets the view that grabbed the mouse. public View View { get; } }