Share via


SpatialGestureRecognizer.ManipulationCompleted Event

Definition

Occurs when a Manipulation gesture is completed.

// Register
event_token ManipulationCompleted(TypedEventHandler<SpatialGestureRecognizer, SpatialManipulationCompletedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
SpatialGestureRecognizer::ManipulationCompleted_revoker ManipulationCompleted(auto_revoke_t, TypedEventHandler<SpatialGestureRecognizer, SpatialManipulationCompletedEventArgs const&> const& handler) const;
public event TypedEventHandler<SpatialGestureRecognizer,SpatialManipulationCompletedEventArgs> ManipulationCompleted;
function onManipulationCompleted(eventArgs) { /* Your code */ }
spatialGestureRecognizer.addEventListener("manipulationcompleted", onManipulationCompleted);
spatialGestureRecognizer.removeEventListener("manipulationcompleted", onManipulationCompleted);
- or -
spatialGestureRecognizer.onmanipulationcompleted = onManipulationCompleted;
Public Custom Event ManipulationCompleted As TypedEventHandler(Of SpatialGestureRecognizer, SpatialManipulationCompletedEventArgs) 

Event Type

Remarks

For hand interactions, the SpatialManipulationCompletedEventArgs event fires when the finger is released after a ManipulationStarted event.

For speech and motion controller interactions, this event does not fire.

Applies to