GestureRecognizer.CrossSlideExact Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether the exact distance from initial contact to end of the cross-slide interaction is reported.By default, a small distance threshold is subtracted from the first position reported by the system for cross-slide interactions. If this flag is set, the distance threshold is not subtracted from the initial position.
Note
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.
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
bool
True if the distance threshold is not subtracted; otherwise false. The default value is false.
Applies to
See also
- Input and interactions
- User interaction mode sample
- Focus visuals sample
- Input: Device capabilities sample
- Input: Simplified ink sample
- Input: Windows 8 gestures sample
- Input: XAML user input events sample
- XAML scrolling, panning, and zooming sample
- DirectX touch input sample
- Input: Manipulations and gestures (C++) sample
- Input: Touch hit testing sample
- Input source identification sample
- Touch injection sample
- Win32 touch hit-testing sample