-api-id | -api-type |
---|---|
T:Windows.UI.Input.CrossSlideThresholds |
winrt struct |
Contains the distance thresholds for a CrossSliding interaction.
The distance, in device-independent pixel (DIP), from the initial point of contact until the selection action is initiated.
The distance, in device-independent pixel (DIP), from the initial point of contact until the speed bump is initiated.
The distance, in device-independent pixel (DIP), from the initial point of contact until the end of the speed bump.
The distance, in device-independent pixel (DIP), from the initial point of contact until the rearrange action is initiated.
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).
To disable a threshold, set its value to 0.0.