GestureRecognizer.CrossSlideExact | crossSlideExact property

Expand Minimize
This topic has not yet been rated - Rate this topic

Gets or sets a value that indicates whether the exact distance from initial contact to end of the cross-slide interaction is reported.

By default, a small distance threshold is subtracted from the first position reported by the system for a cross-slide interaction. If this flag is set, the distance threshold is not subtracted from the initial position.

Note  

This distance threshold is intended to account for slight movements of the contact when processing a tap gesture.

Syntax


var crossSlideExact = gestureRecognizer.crossSlideExact;
gestureRecognizer.crossSlideExact = crossSlideExact;

Property value

Type: Boolean [JavaScript] | System.Boolean [.NET] | Platform::Boolean [C++]

True if the distance threshold is not subtracted; otherwise false. The default value is false.

Remarks

Windows Phone 8

This API is not implemented and will throw an exception if called.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.UI.Input
Windows::UI::Input [C++]

Metadata

Windows.winmd

See also

GestureRecognizer

 

 

Build date: 2/25/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.