Method GrabMouse
GrabMouse(View?)
Grabs the mouse, forcing all mouse events to be routed to the specified view until UngrabMouse() is called.
void GrabMouse(View? view)
Parameters
viewViewThe View that will receive all mouse events until UngrabMouse() is invoked. If null, the grab is released.