Method GrabMouse
GrabMouse(View?)
Grabs the mouse, forcing all mouse events to be routed to the specified view until UngrabMouse() is called.
public static void GrabMouse(View? view)
Parameters
view
ViewView that will receive all mouse events until UngrabMouse() is invoked.