Window. Set Pointer Capture Method
Associates pointer input with the app. Once a pointer is captured, all subsequent events associated with that pointer are fired by the app.
public: virtual void SetPointerCapture() = SetPointerCapture;
public void SetPointerCapture();
Public Sub SetPointerCapture ()
A pointer can be captured only by a single app at any time. Only the foreground window can capture the pointer. Pointer events continue even if the pointer moves outside the bounds of the app.
A pointer can only be captured when contact is detected (mouse button pressed, touch contact down, stylus in contact), and the pointer is within the bounding rectangle of the app.