Table of Contents

Event GrabbedMouse

Namespace
Terminal.Gui.App
Assembly
Terminal.Gui.dll

Raised after a view has successfully grabbed the mouse.

event EventHandler<ViewEventArgs>? GrabbedMouse

Returns

EventHandler<ViewEventArgs>
Raised after a view has successfully grabbed the mouse.

Remarks

This event fires after GrabbingMouse (if not cancelled) and indicates that the specified view now has exclusive mouse event routing. All subsequent mouse events will be directed to this view until UngrabMouse() is called.

The View property contains the view that grabbed the mouse.