CrossSlideThresholds Structure

Contains the distance thresholds for a CrossSliding interaction.

Syntax

public value struct CrossSlideThresholds  

Remarks

A speed bump is a CrossSliding region in which the user experiences a slight drag (or friction) during the swipe or slide gesture.

The following diagram shows the CrossSliding regions and thresholds. The areas highlighted in blue are the selection/speed bump regions. (The region on the left shows the distance the tile must travel while the region on the right shows the equivalent distance that the touch contact must travel due to the speed bump behavior).

Figure 1.  Screen shot showing CrossSlide regions and distance thresholds.

To disable a threshold, set its value to 0.0.

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

Requirements

Namespace: Windows.UI.Input

Metadata: windows.winmd

See also

Reference

CrossSlideThresholds Members

Windows.UI.Input Namespace