View.SetOnCreateContextMenuListener(View+IOnCreateContextMenuListener) View.SetOnCreateContextMenuListener(View+IOnCreateContextMenuListener) Method

Definition

Register a callback to be invoked when the context menu for this view is being built.

[Android.Runtime.Register("setOnCreateContextMenuListener", "(Landroid/view/View$OnCreateContextMenuListener;)V", "GetSetOnCreateContextMenuListener_Landroid_view_View_OnCreateContextMenuListener_Handler")]
public virtual void SetOnCreateContextMenuListener (Android.Views.View.IOnCreateContextMenuListener l);
abstract member SetOnCreateContextMenuListener : Android.Views.View.IOnCreateContextMenuListener -> unit
override this.SetOnCreateContextMenuListener : Android.Views.View.IOnCreateContextMenuListener -> unit

Parameters

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.

Applies to