ICorePointerInputSource.PointerPressed Événement

Définition

Se produit lorsqu’une action d’appui (telle qu’un appui sur l’écran ou un clic de souris) est reçue pour le pointeur.

// Register
event_token PointerPressed(TypedEventHandler<IInspectable, PointerEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
ICorePointerInputSource::PointerPressed_revoker PointerPressed(auto_revoke_t, TypedEventHandler<IInspectable, PointerEventArgs const&> const& handler) const;
event TypedEventHandler<object,PointerEventArgs> PointerPressed;
function onPointerPressed(eventArgs) { /* Your code */ }
iCorePointerInputSource.addEventListener("pointerpressed", onPointerPressed);
iCorePointerInputSource.removeEventListener("pointerpressed", onPointerPressed);
- or -
iCorePointerInputSource.onpointerpressed = onPointerPressed;
Event PointerPressed As TypedEventHandler(Of Object, PointerEventArgs) 

Type d'événement

S’applique à