Share via


InputPointerSource.PointerReleased Event

Definition

Occurs when a pointer device that previously initiated a Press action is released (a mouse button is released, or a touch or pen contact is lifted from the digitizer surface), while within the bounds of this InputPointerSource.

// Register
event_token PointerReleased(TypedEventHandler<InputPointerSource, PointerEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
InputPointerSource::PointerReleased_revoker PointerReleased(auto_revoke_t, TypedEventHandler<InputPointerSource, PointerEventArgs const&> const& handler) const;
public event TypedEventHandler<InputPointerSource,PointerEventArgs> PointerReleased;
function onPointerReleased(eventArgs) { /* Your code */ }
inputPointerSource.addEventListener("pointerreleased", onPointerReleased);
inputPointerSource.removeEventListener("pointerreleased", onPointerReleased);
- or -
inputPointerSource.onpointerreleased = onPointerReleased;
Public Custom Event PointerReleased As TypedEventHandler(Of InputPointerSource, PointerEventArgs) 

Event Type

Applies to