PointerCaptureHelper.CapturePointer

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

Parameters

handler The VisualElement that captures the pointer.
pointerId The pointer to capture.

Description

Captures the pointer.

When a VisualElement captures a pointer, all pointer events are sent to the element, regardless of which element is under the pointer.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答