Share via


InputPointerSource.PointerReleased Événement

Définition

Se produit lorsqu’un appareil pointeur qui a précédemment lancé une action Appuyer est libéré (un bouton de souris est relâché, ou un contact tactile ou stylet est levé de la surface du numériseur), dans les limites de ce 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) 

Type d'événement

S’applique à