Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

translationX property

Translation along x-axis from the last MSGestureEvent of the interaction.

This property is read-only.

Internet Explorer 10

Syntax

JavaScript
fTranslation = object.translationX

Property values

Type: Floating-point

Translation value

Remarks

When gesture is moving right, values are returned as positive numbers. When moving left, values are returned as negative numbers.

Note  This item described in this topic requires Windows 8.

See also

MSGestureEvent

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.