ManipulationVelocities ManipulationVelocities ManipulationVelocities ManipulationVelocities ManipulationVelocities Struct


Contains the velocities of the accumulated transformations for the current interaction.


Velocity is the distance an object travels in a specified direction during a unit of time.

public : struct ManipulationVelocities
struct winrt::Windows::UI::Input::ManipulationVelocities
public struct ManipulationVelocities
Public Structure ManipulationVelocities
var manipulationVelocities = {

   angular: /* Your value */,

   expansion: /* Your value */,

   linear: /* Your value */

Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


Angular Angular Angular Angular Angular

The rotational velocity in degrees per millisecond.

float Angular;
float Angular;
float Angular;
Angular As float;
var float = manipulationVelocities.angular;
manipulationVelocities.angular = float;

Expansion Expansion Expansion Expansion Expansion

The expansion, or scaling, velocity in device-independent pixel (DIP) per millisecond.

float Expansion;
float Expansion;
float Expansion;
Expansion As float;
var float = manipulationVelocities.expansion;
manipulationVelocities.expansion = float;

Linear Linear Linear Linear Linear

The straight line velocity in device-independent pixel (DIP) per millisecond.

Point Linear;
Point Linear;
Point Linear;
Linear As Point;
var Point = manipulationVelocities.linear;
manipulationVelocities.linear = Point;

See Also