View.SetOnContextClickListener(View+IOnContextClickListener) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Register a callback to be invoked when this view is context clicked.
[Android.Runtime.Register("setOnContextClickListener", "(Landroid/view/View$OnContextClickListener;)V", "GetSetOnContextClickListener_Landroid_view_View_OnContextClickListener_Handler", ApiSince=23)]
public virtual void SetOnContextClickListener (Android.Views.View.IOnContextClickListener? l);
[<Android.Runtime.Register("setOnContextClickListener", "(Landroid/view/View$OnContextClickListener;)V", "GetSetOnContextClickListener_Landroid_view_View_OnContextClickListener_Handler", ApiSince=23)>]
abstract member SetOnContextClickListener : Android.Views.View.IOnContextClickListener -> unit
override this.SetOnContextClickListener : Android.Views.View.IOnContextClickListener -> unit
Parameters
The callback that will run
- Attributes
Remarks
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.