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

Parámetros

handlerThe VisualElement that captures the pointer.
pointerIdThe pointer to capture.

Descripción

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.