Share via


InkUnprocessedInput.PointerLost Event

Definition

Occurs when a pointer is no longer detected in, or over, the hit test, or bounding, area of an InkCanvas control.

Typically, a pointer is lost if the contact moves outside the InkCanvas control or the contact is captured by another element.

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

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

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

Event Type

Applies to

See also