次の方法で共有


View.IOnContextClickListener.OnContextClick(View) Method

Definition

Called when a view is context clicked.

[Android.Runtime.Register("onContextClick", "(Landroid/view/View;)Z", "GetOnContextClick_Landroid_view_View_Handler:Android.Views.View/IOnContextClickListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=23)]
public bool OnContextClick (Android.Views.View? v);
[<Android.Runtime.Register("onContextClick", "(Landroid/view/View;)Z", "GetOnContextClick_Landroid_view_View_Handler:Android.Views.View/IOnContextClickListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=23)>]
abstract member OnContextClick : Android.Views.View -> bool

Parameters

v
View

The view that has been context clicked.

Returns

true if the callback consumed the context click, false otherwise.

Attributes

Remarks

Called when a view is context clicked.

Java documentation for android.view.View.OnContextClickListener.onContextClick(android.view.View).

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