共用方式為


TouchpadGesturesController.GlobalActionPerformed Event

Definition

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

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

// Revoke with event_revoker
TouchpadGesturesController::GlobalActionPerformed_revoker GlobalActionPerformed(auto_revoke_t, TypedEventHandler<TouchpadGesturesController, TouchpadGlobalActionEventArgs const&> const& handler) const;
[Windows.Foundation.Metadata.Experimental]
[add: Windows.Foundation.Metadata.Experimental]
[remove: Windows.Foundation.Metadata.Experimental]
public event TypedEventHandler<TouchpadGesturesController,TouchpadGlobalActionEventArgs> GlobalActionPerformed;
function onGlobalActionPerformed(eventArgs) { /* Your code */ }
touchpadGesturesController.addEventListener("globalactionperformed", onGlobalActionPerformed);
touchpadGesturesController.removeEventListener("globalactionperformed", onGlobalActionPerformed);
- or -
touchpadGesturesController.onglobalactionperformed = onGlobalActionPerformed;
Public Custom Event GlobalActionPerformed As TypedEventHandler(Of TouchpadGesturesController, TouchpadGlobalActionEventArgs) 

Event Type

Attributes

Applies to