Windows Dev Center

Expand Minimize

GestureRecognizer.ManipulationInertiaStarting | manipulationinertiastarting event

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).

Syntax


function onManipulationInertiaStarting(eventArgs) { /* Your code */ }
 
// addEventListener syntax
gestureRecognizer.addEventListener("manipulationinertiastarting", onManipulationInertiaStarting);
gestureRecognizer.removeEventListener("manipulationinertiastarting", onManipulationInertiaStarting);
 
- or -

gestureRecognizer.onmanipulationinertiastarting = onManipulationInertiaStarting;


Event information

Delegate TypedEventHandler<GestureRecognizer, ManipulationInertiaStartingEventArgs>

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.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Input
Windows::UI::Input [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.UI.Input
Windows::UI::Input [C++]

Metadata

Windows.winmd

See also

GestureRecognizer
ManipulationInertiaStartingEventArgs

 

 

Show:
© 2015 Microsoft