Compartir a través de


TouchpadGesturesController.PointerPressed Event

Definition

/// [Windows.Foundation.Metadata.Experimental]
/// [add: Windows.Foundation.Metadata.Experimental]
/// [remove: Windows.Foundation.Metadata.Experimental]
// Register
event_token PointerPressed(TypedEventHandler<TouchpadGesturesController, PointerEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
TouchpadGesturesController::PointerPressed_revoker PointerPressed(auto_revoke_t, TypedEventHandler<TouchpadGesturesController, PointerEventArgs const&> const& handler) const;
[Windows.Foundation.Metadata.Experimental]
[add: Windows.Foundation.Metadata.Experimental]
[remove: Windows.Foundation.Metadata.Experimental]
public event TypedEventHandler<TouchpadGesturesController,PointerEventArgs> PointerPressed;
function onPointerPressed(eventArgs) { /* Your code */ }
touchpadGesturesController.addEventListener("pointerpressed", onPointerPressed);
touchpadGesturesController.removeEventListener("pointerpressed", onPointerPressed);
- or -
touchpadGesturesController.onpointerpressed = onPointerPressed;
Public Custom Event PointerPressed As TypedEventHandler(Of TouchpadGesturesController, PointerEventArgs) 

Event Type

Attributes

Applies to