共用方式為


PhysicalGestureRecognizer.ManipulationStarted Event

Definition

/// [Windows.Foundation.Metadata.Experimental]
/// [add: Windows.Foundation.Metadata.Experimental]
/// [remove: Windows.Foundation.Metadata.Experimental]
// Register
event_token ManipulationStarted(TypedEventHandler<PhysicalGestureRecognizer, ManipulationStartedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
PhysicalGestureRecognizer::ManipulationStarted_revoker ManipulationStarted(auto_revoke_t, TypedEventHandler<PhysicalGestureRecognizer, ManipulationStartedEventArgs const&> const& handler) const;
[Windows.Foundation.Metadata.Experimental]
[add: Windows.Foundation.Metadata.Experimental]
[remove: Windows.Foundation.Metadata.Experimental]
public event TypedEventHandler<PhysicalGestureRecognizer,ManipulationStartedEventArgs> ManipulationStarted;
function onManipulationStarted(eventArgs) { /* Your code */ }
physicalGestureRecognizer.addEventListener("manipulationstarted", onManipulationStarted);
physicalGestureRecognizer.removeEventListener("manipulationstarted", onManipulationStarted);
- or -
physicalGestureRecognizer.onmanipulationstarted = onManipulationStarted;
Public Custom Event ManipulationStarted As TypedEventHandler(Of PhysicalGestureRecognizer, ManipulationStartedEventArgs) 

Event Type

Attributes

Applies to