Manipulation Class

.NET Framework (current version)

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

Contains methods to get and update information about a manipulation.

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


public ref class Manipulation abstract sealed 

System_CAPS_pubmethodSystem_CAPS_staticAddManipulator(UIElement^, IManipulator^)

Associates a IManipulator object with the specified element.


Completes the active manipulation on the specified element. When called, manipulation input is no longer tracked and inertia on the specified element stops.


Gets the container that defines the coordinates for the manipulation.


Gets the ManipulationModes for the specified element.


Returns an object that describes how a rotation occurs with one point of user input.


Gets a value that indicates whether a manipulation is associated with the specified element.

System_CAPS_pubmethodSystem_CAPS_staticRemoveManipulator(UIElement^, IManipulator^)

Removes the association between the specified IManipulator object and the element.

System_CAPS_pubmethodSystem_CAPS_staticSetManipulationContainer(UIElement^, IInputElement^)

Sets the element that defines the coordinates for the manipulation of the specified element.

System_CAPS_pubmethodSystem_CAPS_staticSetManipulationMode(UIElement^, ManipulationModes)

Sets the mode of manipulation for the specified element.

System_CAPS_pubmethodSystem_CAPS_staticSetManipulationParameter(UIElement^, ManipulationParameters2D^)

Adds parameters to the manipulation of the specified element.

System_CAPS_pubmethodSystem_CAPS_staticSetManipulationPivot(UIElement^, ManipulationPivot^)

Sets the pivot of the single-point manipulation of the specified element.


Stops the manipulation and begins inertia on the specified element.

A manipulation occurs when touch is interpreted as a physical action that is applied to an object. In WPF, manipulation events interpret input as a translation, expansion, or rotation manipulation. You usually interact with manipulations through the manipulation events that are defined on the UIElement. However, the Manipulation class defines static methods that you can use to interact with manipulations.

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

.NET Framework
Available since 4.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