CrossSlideThresholds structure

Applies to Windows and Windows Phone

Contains the distance thresholds for a CrossSliding interaction.

Syntax

Public Structure CrossSlideThresholds

Attributes

[Version(0x06020000)]

Members

The CrossSlideThresholds structure has these fields.

FieldData typeDescription
RearrangeStart | rearrangeStart

Number [JavaScript] | System.Single [.NET] | float32 [C++]

The distance, in DIPs, from the initial point of contact until the rearrange action is initiated.

SelectionStart | selectionStart

Number [JavaScript] | System.Single [.NET] | float32 [C++]

The distance, in DIPs, from the initial point of contact until the selection action is initiated.

SpeedBumpEnd | speedBumpEnd

Number [JavaScript] | System.Single [.NET] | float32 [C++]

The distance, in DIPs, from the initial point of contact until the end of the speed bump.

SpeedBumpStart | speedBumpStart

Number [JavaScript] | System.Single [.NET] | float32 [C++]

The distance, in DIPs, from the initial point of contact until the speed bump is initiated.

 

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.

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

CrossSlideThresholds

 

 

Show:
© 2014 Microsoft