PointerCaptureHelper.ReleasePointer

Declaration

public static void ReleasePointer(UIElements.IEventHandler handler, int pointerId);

Parameters

handler The element which potentially captured the pointer.
pointerId The captured pointer.

Description

Tests whether an element captured a pointer and, if so, tells the element to release the pointer.

If a pointer release is requested during the propagation of an existing event, the release takes effect only after the ongoing event has been fully dispatched and propagated.


Declaration

public static void ReleasePointer(UIElements.IPanel panel, int pointerId);

Parameters

panel The panel that holds the element that captured the pointer.
pointerId The captured pointer.

Description

Releases the pointer.

If a pointer release is requested during the propagation of an existing event, the release takes effect only after the ongoing event has been fully dispatched and propagated.


Did you find this page useful? Please give it a rating: