ManipulationDelta Class
Collapse the table of content
Expand the table of content

ManipulationDelta Class


Contains transformation data that is accumulated when manipulation events occur.

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


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

Legacy Code Example

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.

Code snippet is not found. Confirm that the code snippet name 'BasicManipulation' is correct.

.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
© 2015 Microsoft