Property TouchSlop
TouchSlop
Gets or sets the minimum movement distance, in pixels, before a touch is considered a pan gesture.
public float TouchSlop { get; set; }
Property Value
- float
The touch slop distance in pixels. The default is
8.
Remarks
Touches that move less than this distance are classified as taps or long presses rather than pans.
Exceptions
- ArgumentOutOfRangeException
valueis negative.