ManipulationDeltaEventArgs.IsInertial Property

 

Gets a value that indicates whether the ManipulationDelta event occurs during inertia.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

member IsInertial : bool with get, private set

Property Value

Type: System.Boolean

true if the ManipulationDelta event occurs during inertia; false if the event occurs while the user has contact with the UIElement.

You can use this method to determine whether the ManipulationDelta event occurs during inertia or while the user has contact with the element that receives the ManipulationDelta event.

The following example shows an event handler for the ManipulationDelta event. The example checks whether the ManipulationDelta event occurred during inertia and whether the rectangle is touching the edge of a window. If those cases are true, the application stops the manipulation to prevent the rectangle from leaving the visible area of the application. This example is part of a larger example in Walkthrough: Creating Your First Touch Application.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 4.0
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: