Android.Views.View.CancelLongPress Method
Cancels a pending long press.

Syntax

[Android.Runtime.Register("cancelLongPress", "()V", "GetCancelLongPressHandler")]
public virtual void CancelLongPress ()

Remarks

Cancels a pending long press. Your subclass can use this if you want the context menu to come up if the user presses and holds at the same place, but you don't want it to come up if they press and then move around enough to cause scrolling.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1