LongPressGestureRecognizer.NumberOfTouchesRequired 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 the number of touches required for the gesture to be recognized. Default is 1. Only supported on iOS and Mac Catalyst.
public:
property int NumberOfTouchesRequired { int get(); void set(int value); };
public int NumberOfTouchesRequired { get; set; }
member this.NumberOfTouchesRequired : int with get, set
Public Property NumberOfTouchesRequired As Integer
Property Value
Remarks
On Android and Windows, this property is ignored and the gesture always requires 1 touch.