Expand Minimize

GestureRecognizer.CrossSlideThresholds | crossSlideThresholds property

Applies to Windows and Windows Phone

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

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:
© 2014 Microsoft