Partager via


View.HasOnLongClickListeners Property

Definition

Return whether this view has an attached OnLongClickListener.

public virtual bool HasOnLongClickListeners { [Android.Runtime.Register("hasOnLongClickListeners", "()Z", "GetHasOnLongClickListenersHandler", ApiSince=30)] get; }
[<get: Android.Runtime.Register("hasOnLongClickListeners", "()Z", "GetHasOnLongClickListenersHandler", ApiSince=30)>]
member this.HasOnLongClickListeners : bool

Property Value

Attributes

Remarks

Return whether this view has an attached OnLongClickListener. Returns true if there is a listener, false if there is none.

Java documentation for android.view.View.hasOnLongClickListeners().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to