Android.App.Activity.OpenContextMenu Method
Programmatically opens the context menu for a particular view.

Syntax

[Android.Runtime.Register("openContextMenu", "(Landroid/view/View;)V", "GetOpenContextMenu_Landroid_view_View_Handler")]
public virtual void OpenContextMenu (Android.Views.View view)

Parameters

view
The view to show the context menu for.

Remarks

Programmatically opens the context menu for a particular view. The view should have been added via Activity.RegisterForContextMenu(Android.Views.View).

[Android Documentation]

Requirements

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