Windows Dev Center

Expand Minimize

GestureRecognizer.CrossSlideThresholds | crossSlideThresholds property

Gets or sets values that indicate the distance thresholds for a CrossSliding interaction.

Syntax


var crossSlideThresholds = gestureRecognizer.crossSlideThresholds;
gestureRecognizer.crossSlideThresholds = crossSlideThresholds;

Property value

Type: CrossSlideThresholds

By default, every value in CrossSlideThresholds is set to 0.0 (CrossSliding functionality is disabled).

Remarks

For more detail on how to use cross-slide functionality, see Guidelines for cross-slide.

The threshold distances used by the cross-slide interaction are shown in the following diagram.

Screen shot showing the select and drag and drop processes.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

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

Metadata

Windows.winmd

See also

GestureRecognizer
GestureSettings

 

 

Show:
© 2015 Microsoft