Dela via


CoreInkIndependentInputSource.PointerLost Event

Definition

Occurs as a pointer is no longer detected in, or over, the hit test, or bounding, area of the InkCanvas associated with the InkPresenter object.

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<CoreInkIndependentInputSource, PointerEventArgs const&> const& handler) const;

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

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

Event Type

Applies to

See also