Share via


GestureRecognizer.CrossSlideExact Property

Definition

Gets or sets a value that indicates whether the exact distance from initial contact to end of the cross-slide interaction is reported.

public:
 property bool CrossSlideExact { bool get(); void set(bool value); };
bool CrossSlideExact();

void CrossSlideExact(bool value);
public bool CrossSlideExact { get; set; }
var boolean = gestureRecognizer.crossSlideExact;
gestureRecognizer.crossSlideExact = boolean;
Public Property CrossSlideExact As Boolean

Property Value

Boolean

bool

A value that indicates whether the exact distance from initial contact to end of the cross-slide interaction is reported.

Remarks

By default, a small distance threshold is subtracted from the first position reported by the system for cross-slide interactions. This distance threshold is intended to account for any slight movement of the contact after initial detection. It helps the system differentiate between cross-sliding and panning, and helps ensure that a tap gesture is not interpreted as either. If this flag is set, the distance threshold is not subtracted from the initial position.

For more details on this API, please see the the UWP WinRT CrossSlideExact topic.

Applies to