Export (0) Print
Expand All

Manipulation Class

Contains methods to get and update information about a manipulation.

System.Object
  System.Windows.Input.Manipulation

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

public static class Manipulation

The Manipulation type exposes the following members.

  NameDescription
Public methodStatic memberAddManipulatorAssociates a IManipulator object with the specified element.
Public methodStatic memberCompleteManipulationCompletes the active manipulation on the specified element. When called, manipulation input is no longer tracked and inertia on the specified element stops.
Public methodStatic memberGetManipulationContainerGets the container that defines the coordinates for the manipulation.
Public methodStatic memberGetManipulationModeGets the ManipulationModes for the specified element.
Public methodStatic memberGetManipulationPivotReturns an object that describes how a rotation occurs with one point of user input.
Public methodStatic memberIsManipulationActiveGets a value that indicates whether a manipulation is associated with the specified element.
Public methodStatic memberRemoveManipulatorRemoves the association between the specified IManipulator object and the element.
Public methodStatic memberSetManipulationContainerSets the element that defines the coordinates for the manipulation of the specified element.
Public methodStatic memberSetManipulationModeSets the mode of manipulation for the specified element.
Public methodStatic memberSetManipulationParameterAdds parameters to the manipulation of the specified element.
Public methodStatic memberSetManipulationPivotSets the pivot of the single-point manipulation of the specified element.
Public methodStatic memberStartInertiaStops the manipulation and begins inertia on the specified element.
Top

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

Supported in: 4.5, 4

.NET Framework Client Profile

Supported in: 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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