Table of Contents

Event UnGrabbedMouse

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

Raised after a view has released the mouse grab.

event EventHandler<ViewEventArgs>? UnGrabbedMouse

Returns

EventHandler<ViewEventArgs>
Raised after a view has released the mouse grab.

Remarks

This event fires after UnGrabbingMouse (if not cancelled) and indicates that normal mouse routing has resumed. Mouse events will now be delivered to the view under the mouse pointer.

The View property contains the view that released the mouse grab.

Post-Ungrab Behavior: After this event, the system immediately updates MouseEnter/MouseLeave states for views under the current mouse position, ensuring proper visual feedback.