Occurs when a user performs a slide or swipe gesture (through a single touch contact) within a content area that supports panning along a single axis only. The gesture must occur in a direction that is perpendicular to this panning axis.
Note A swipe is a short sliding gesture that results in a selection action while the longer slide gesture crosses a distance threshold and results in a rearrange action. The swipe and slide gestures are demonstrated in the following diagram.

Syntax
function onCrossSliding(eventArgs) { /* Your code */ } // addEventListener syntax gestureRecognizer.addEventListener("crosssliding", onCrossSliding); gestureRecognizer.removeEventListener("crosssliding", onCrossSliding); - or - gestureRecognizer.oncrosssliding = onCrossSliding;
Event information
| Delegate | TypedEventHandler<GestureRecognizer, CrossSlidingEventArgs> |
|---|
Remarks
CrossSlide must be set in the GestureSettings property to support CrossSliding.
CrossSliding distance thresholds are disabled by default. Use CrossSlideThresholds to set these values.
Windows Phone 8
This API is not implemented and will throw an exception if called.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Minimum supported phone | Windows Phone 8 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 2/25/2013