Android.Views.View.CreateContextMenu Method
Show the context menu for this view.

Syntax

[Android.Runtime.Register("createContextMenu", "(Landroid/view/ContextMenu;)V", "GetCreateContextMenu_Landroid_view_ContextMenu_Handler")]
public virtual void CreateContextMenu (IContextMenu menu)

Parameters

menu
The context menu to populate

Remarks

Show the context menu for this view. It is not safe to hold on to the menu after returning from this method. You should normally not overload this method. Overload View.OnCreateContextMenu(IContextMenu) or define an NoType:android/view/View$OnCreateContextMenuListener;Href=../../../reference/android/view/View.OnCreateContextMenuListener.html to add items to the context menu.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1