In System.Windows.UIElement there is a CaptureMouse() and a paired ReleaseMouseCapture() method. In this WPF DragDrop example, they call CaptureMouse on MouseDown and release it on MouseUp. The MSDN documentation is about as useless as it is - "CaptureMouse β Mouse Capture".
In my head, before I tried, I suggested that she somehow locked the mouse inside the borders of the UIElement, but this is clearly not the case when I try. From the experiments, it seems that something is connected with the response to events when the mouse is outside the UIElement, but not wanting to be a cult cult programmer. I do not want to just use it, because in this example I would like to get a reliable description of what this means .
events wpf mouse
Eclipse Jun 02 '09 at 23:04 2009-06-02 23:04
source share