ManipulationDelta Class


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Contains transformation data that is accumulated when manipulation events occur.

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


public ref class ManipulationDelta 

System_CAPS_pubmethodManipulationDelta(Vector, Double, Vector, Vector)

Initializes a new instance of the ManipulationDelta class.


Gets or sets the amount the manipulation has resized in device-independent units (1/96th inch per unit).


Gets or sets the rotation of the manipulation in degrees.


Gets or sets the amount the manipulation has resized as a multiplier.


Gets or sets the linear motion of the manipulation.


Determines whether the specified object is equal to the current object.(Inherited from Object.)


Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)


Serves as the default hash function. (Inherited from Object.)


Gets the Type of the current instance.(Inherited from Object.)


Creates a shallow copy of the current Object.(Inherited from Object.)


Returns a string that represents the current object.(Inherited from Object.)

The ManipulationDelta class contains information about the changes in the position of a manipulation. Windows Presentation Foundation (WPF) interprets the changes as a Translation, Expansion, or Rotation. When the ManipulationDelta event occurs on a UIElement, use the properties on a ManipulationDelta object to transform the object that should be manipulated. The ManipulationDeltaEventArgs class provides two properties of type ManipulationDelta: DeltaManipulation and CumulativeManipulation.

For more information about manipulations, see the Input Overview. For an example of an application that responds to manipulations, see Walkthrough: Creating Your First Touch Application.

The following example shows an event handler for the ManipulationDelta event. The example applies the Translation, Scale, and Rotation properties to move, resize, and rotate a Rectangle. 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
Available since 4.0
Windows Phone Silverlight
Available since 7.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top