Fragment.RegisterForContextMenu(View) Fragment.RegisterForContextMenu(View) Method


Registers a context menu to be shown for the given view (multiple views can show the context menu).

[Android.Runtime.Register("registerForContextMenu", "(Landroid/view/View;)V", "GetRegisterForContextMenu_Landroid_view_View_Handler")]
public virtual void RegisterForContextMenu (Android.Views.View view);
abstract member RegisterForContextMenu : Android.Views.View -> unit
override this.RegisterForContextMenu : Android.Views.View -> unit


View View

The view that should show a context menu.


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

See also