ManipulationDelta::Translation Property
.NET Framework (current version)
Gets or sets the linear motion of the manipulation.
Assembly: PresentationCore (in PresentationCore.dll)
Property Value
Type: System.Windows::VectorThe linear motion of the manipulation in device-independent units (1/96th inch per unit).
The Translation property reports the way a manipulation is interpreted as moving horizontally and vertically on the screen.
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.
.NET Framework
Available since 4.0
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 7.0
Available since 4.0
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 7.0
Show: