LongPressGestureRecognizer Methods |
The LongPressGestureRecognizer type exposes the following members.
Name | Description | |
---|---|---|
AddRequiredGestureRecognizerToFail |
Require a gesture to fail in order for this gesture to end
(Inherited from GestureRecognizer.) | |
AllowSimultaneousExecution |
Allows the simultaneous execution with other gesture. This links both gestures so this method
only needs to be called once on one of the gestures.
Pass null to allow simultaneous execution with all gestures.
(Inherited from GestureRecognizer.) | |
AllowSimultaneousExecutionWithAllGestures |
Allows simultaneous execution with all gestures
(Inherited from GestureRecognizer.) | |
AreTrackedTouchesWithinDistance |
Determines whether any tracked touches are within the distance of the starting point of each tracked touch.
(Inherited from GestureRecognizer.) | |
BeginGestureRestart |
Allows the gesture to restart even if the touches are not lifted. This is only valid when called from the "Ended" state.
(Inherited from GestureRecognizer.) | |
CalculateFocus(ICollectionGestureTouch) |
Calculate the focus of the gesture
(Inherited from GestureRecognizer.) | |
CalculateFocus(ICollectionGestureTouch, Boolean) |
Calculate the focus of the gesture
(Inherited from GestureRecognizer.) | |
DisallowSimultaneousExecution |
Disallows the simultaneous execution with other gesture. This unlinks both gestures so this method
only needs to be called once on one of the gestures.
By default, gesures are not allowed to execute simultaneously, so you only need to call this method
if you previously allowed the gestures to execute simultaneously.
Pass null to disallow simulatneous execution with all gestures (i.e. you previously called
AllowSimultaneousExecution with a null value.
(Inherited from GestureRecognizer.) | |
DisallowSimultaneousExecutionWithAllGestures |
Disallows simultaneous execution with all gestures
(Inherited from GestureRecognizer.) | |
Dispose |
Dispose of the gesture and ensure it is removed from the global list of active gestures
(Inherited from GestureRecognizer.) | |
Distance(Single) |
Get the distance of a length, in units
(Inherited from GestureRecognizer.) | |
Distance(Single, Single) |
Gets the distance of a vector, in units
(Inherited from GestureRecognizer.) | |
DistanceBetweenPoints |
Gets the distance between two points, in units
(Inherited from GestureRecognizer.) | |
EndGestureRestart |
Restart the gesture with a set of begin touches
(Inherited from GestureRecognizer.) | |
Equals | (Inherited from Object.) | |
Finalize |
Finalizer
(Inherited from GestureRecognizer.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
IgnoreTouch |
Ignore a touch until it is released
(Inherited from GestureRecognizer.) | |
MemberwiseClone | (Inherited from Object.) | |
PointsAreWithinDistance |
Determines whether two points are within a specified distance
(Inherited from GestureRecognizer.) | |
ProcessTouchesBegan |
Call with the touches that began
(Inherited from GestureRecognizer.) | |
ProcessTouchesCancelled |
Process cancelled touches
(Inherited from GestureRecognizer.) | |
ProcessTouchesEnded |
Call with the touches that ended
(Inherited from GestureRecognizer.) | |
ProcessTouchesMoved |
Call with the touches that moved
(Inherited from GestureRecognizer.) | |
RemoveRequiredGestureRecognizerToFail |
Remove a gesture needing to fail in order for this gesture to end
(Inherited from GestureRecognizer.) | |
Reset |
Reset all internal state for the gesture recognizer
(Inherited from GestureRecognizer.) | |
SetState |
Sets the state of the gesture. Continous gestures should set the executing state every time they change.
(Inherited from GestureRecognizer.) | |
Simulate |
Simulate a gesture
(Inherited from GestureRecognizer.) | |
StateChanged |
Called when state changes
(Inherited from GestureRecognizer.) | |
ToString |
ToString
(Inherited from GestureRecognizer.) | |
TouchesBegan |
TouchesBegan
(Overrides GestureRecognizerTouchesBegan(IEnumerableGestureTouch).) | |
TouchesEnded |
TouchesEnded
(Overrides GestureRecognizerTouchesEnded.) | |
TouchesMoved |
TouchesMoved
(Overrides GestureRecognizerTouchesMoved.) | |
TrackCurrentTrackedTouchesStartLocations |
Track all touches in CurrentTrackedTouches start locations
(Inherited from GestureRecognizer.) | |
TrackTouches |
Begin tracking the specified touch ids
(Inherited from GestureRecognizer.) |
Name | Description | |
---|---|---|
Log |
Log
(Defined by GestureLogger.) |