View.OnCreateContextMenu(IContextMenu) View.OnCreateContextMenu(IContextMenu) Method

Definition

Views should implement this if the view itself is going to add items to the context menu.

[Android.Runtime.Register("onCreateContextMenu", "(Landroid/view/ContextMenu;)V", "GetOnCreateContextMenu_Landroid_view_ContextMenu_Handler")]
protected virtual void OnCreateContextMenu (Android.Views.IContextMenu menu);
abstract member OnCreateContextMenu : Android.Views.IContextMenu -> unit
override this.OnCreateContextMenu : Android.Views.IContextMenu -> unit

Parameters

menu
IContextMenu IContextMenu

the context menu to populate

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