Udostępnij za pośrednictwem


View.ContextClickable Property

Definition

Indicates whether this view reacts to context clicks or not. -or- Enables or disables context clicking for this view.

public virtual bool ContextClickable { [Android.Runtime.Register("isContextClickable", "()Z", "GetIsContextClickableHandler", ApiSince=23)] get; [Android.Runtime.Register("setContextClickable", "(Z)V", "GetSetContextClickable_ZHandler", ApiSince=23)] set; }
[<get: Android.Runtime.Register("isContextClickable", "()Z", "GetIsContextClickableHandler", ApiSince=23)>]
[<set: Android.Runtime.Register("setContextClickable", "(Z)V", "GetSetContextClickable_ZHandler", ApiSince=23)>]
member this.ContextClickable : bool with get, set

Property Value

true if the view is context clickable, false otherwise

Attributes

Remarks

Property getter documentation:

Indicates whether this view reacts to context clicks or not.

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

Property setter documentation:

Enables or disables context clicking for this view. This event can launch the listener.

Java documentation for android.view.View.setContextClickable(boolean).

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