GestureRecognizer.ManipulationInertiaStarting GestureRecognizer.ManipulationInertiaStarting GestureRecognizer.ManipulationInertiaStarting GestureRecognizer.ManipulationInertiaStarting GestureRecognizer.ManipulationInertiaStarting Event

Definition

Occurs when all contact points are lifted during a manipulation and the velocity of the manipulation is significant enough to initiate inertia behavior (translation, expansion, or rotation continue after the input pointers are lifted).

public : event TypedEventHandler ManipulationInertiaStarting<GestureRecognizer, ManipulationInertiaStartingEventArgs>
// Register
event_token ManipulationInertiaStarting(TypedEventHandler<GestureRecognizer, ManipulationInertiaStartingEventArgs> const& handler) const;

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

// Revoke with event_revoker
ManipulationInertiaStarting_revoker ManipulationInertiaStarting(auto_revoker_t, TypedEventHandler<GestureRecognizer, ManipulationInertiaStartingEventArgs> const& handler) const;
public event TypedEventHandler ManipulationInertiaStarting<GestureRecognizer, ManipulationInertiaStartingEventArgs>
Public Event TypedEventHandler ManipulationInertiaStarting(Of GestureRecognizer, ManipulationInertiaStartingEventArgs)
function onManipulationInertiaStarting(eventArgs){/* Your code */}


gestureRecognizer.addEventListener("manipulationInertiaStarting", onManipulationInertiaStarting);
gestureRecognizer.removeEventListener("manipulationInertiaStarting", onManipulationInertiaStarting);

Remarks

Inertia is the tendency of an object to resist any change in its state of rest or its velocity.

This event is raised before inertia processing.

Inertia behavior for this manipulation can be customized in the handler for this event. For example, inertia can be set to end after a specific distance or UI is displayed.

Note

These settings cannot be customized after the event.

See Also