SpatialGestureRecognizer.ManipulationCanceled SpatialGestureRecognizer.ManipulationCanceled SpatialGestureRecognizer.ManipulationCanceled SpatialGestureRecognizer.ManipulationCanceled SpatialGestureRecognizer.ManipulationCanceled Event

Definition

Occurs when a Manipulation gesture is canceled.

public : event TypedEventHandler<SpatialGestureRecognizer, SpatialManipulationCanceledEventArgs> ManipulationCanceled
// Register
event_token ManipulationCanceled(TypedEventHandler<SpatialGestureRecognizer, SpatialManipulationCanceledEventArgs> const& handler) const;

// Revoke with event_token
void ManipulationCanceled(event_token const& cookie) const;

// Revoke with event_revoker
ManipulationCanceled_revoker ManipulationCanceled(auto_revoke_t, TypedEventHandler<SpatialGestureRecognizer, SpatialManipulationCanceledEventArgs> const& handler) const;
public event TypedEventHandler<SpatialGestureRecognizer, SpatialManipulationCanceledEventArgs> ManipulationCanceled
Public Event ManipulationCanceled As TypedEventHandler (Of SpatialGestureRecognizer, SpatialManipulationCanceledEventArgs)
function onManipulationCanceled(eventArgs){/* Your code */}


spatialGestureRecognizer.addEventListener("manipulationcanceled", onManipulationCanceled);
spatialGestureRecognizer.removeEventListener("manipulationcanceled", onManipulationCanceled);

Remarks

For hand interactions, the SpatialManipulationCanceledEventArgs event fires when the ManipulationStarted hand is lost during the gesture.

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