CrossSlideThresholds CrossSlideThresholds CrossSlideThresholds CrossSlideThresholds Struct

Definition

Contains the distance thresholds for a CrossSliding interaction.

public : struct CrossSlideThresholds
public struct CrossSlideThresholds
Public Structure CrossSlideThresholds
var crossSlideThresholds = {

   rearrangeStart: /* Your value */,

   selectionStart: /* Your value */,

   speedBumpEnd: /* Your value */,

   speedBumpStart: /* Your value */

}
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

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).

Screen shot showing CrossSlide regions and distance thresholds.

To disable a threshold, set its value to 0.0.

Fields

RearrangeStart RearrangeStart RearrangeStart RearrangeStart

The distance, in device-independent pixel (DIP), from the initial point of contact until the rearrange action is initiated.

This developer language is not supported.
This developer language is not supported.
This developer language is not supported.
This developer language is not supported.

SelectionStart SelectionStart SelectionStart SelectionStart

The distance, in device-independent pixel (DIP), from the initial point of contact until the selection action is initiated.

This developer language is not supported.
This developer language is not supported.
This developer language is not supported.
This developer language is not supported.

SpeedBumpEnd SpeedBumpEnd SpeedBumpEnd SpeedBumpEnd

The distance, in device-independent pixel (DIP), from the initial point of contact until the end of the speed bump.

This developer language is not supported.
This developer language is not supported.
This developer language is not supported.
This developer language is not supported.

SpeedBumpStart SpeedBumpStart SpeedBumpStart SpeedBumpStart

The distance, in device-independent pixel (DIP), from the initial point of contact until the speed bump is initiated.

This developer language is not supported.
This developer language is not supported.
This developer language is not supported.
This developer language is not supported.