Delen via


InkUnprocessedInput.PointerMoved Event

Definition

Occurs when a pointer moves within the hit test, or bounding, area of an InkCanvas control.

// Register
event_token PointerMoved(TypedEventHandler<InkUnprocessedInput, PointerEventArgs const&> const& handler) const;

// Revoke with event_token
void PointerMoved(event_token const* cookie) const;

// Revoke with event_revoker
InkUnprocessedInput::PointerMoved_revoker PointerMoved(auto_revoke_t, TypedEventHandler<InkUnprocessedInput, PointerEventArgs const&> const& handler) const;
public event TypedEventHandler<InkUnprocessedInput,PointerEventArgs> PointerMoved;
function onPointerMoved(eventArgs) { /* Your code */ }
inkUnprocessedInput.addEventListener("pointermoved", onPointerMoved);
inkUnprocessedInput.removeEventListener("pointermoved", onPointerMoved);
- or -
inkUnprocessedInput.onpointermoved = onPointerMoved;
Public Custom Event PointerMoved As TypedEventHandler(Of InkUnprocessedInput, PointerEventArgs) 

Event Type

Remarks

Input from various devices (including touch, pen, and mouse) is received, processed, and managed as pointer input. User interactions based on any of these devices can produce a PointerMoved event. For more info, see Handle pointer input.

Applies to

See also