Fragment.UnregisterForContextMenu(View) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Prevents a context menu to be shown for the given view.
[Android.Runtime.Register("unregisterForContextMenu", "(Landroid/view/View;)V", "GetUnregisterForContextMenu_Landroid_view_View_Handler")]
public virtual void UnregisterForContextMenu (Android.Views.View? view);
[<Android.Runtime.Register("unregisterForContextMenu", "(Landroid/view/View;)V", "GetUnregisterForContextMenu_Landroid_view_View_Handler")>]
abstract member UnregisterForContextMenu : Android.Views.View -> unit
override this.UnregisterForContextMenu : Android.Views.View -> unit
Parameters
- view
- View
The view that should stop showing a context menu.
- Attributes
Remarks
Prevents a context menu to be shown for the given view. This method will remove the OnCreateContextMenuListener
on the view.
Java documentation for android.app.Fragment.unregisterForContextMenu(android.view.View)
.
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.