Fragment.OnCreateContextMenu メソッド

定義

view コンテキスト メニューが表示されようとしているときに呼び出されます。

[Android.Runtime.Register("onCreateContextMenu", "(Landroid/view/ContextMenu;Landroid/view/View;Landroid/view/ContextMenu$ContextMenuInfo;)V", "GetOnCreateContextMenu_Landroid_view_ContextMenu_Landroid_view_View_Landroid_view_ContextMenu_ContextMenuInfo_Handler")]
public virtual void OnCreateContextMenu (Android.Views.IContextMenu? menu, Android.Views.View? v, Android.Views.IContextMenuContextMenuInfo? menuInfo);
[<Android.Runtime.Register("onCreateContextMenu", "(Landroid/view/ContextMenu;Landroid/view/View;Landroid/view/ContextMenu$ContextMenuInfo;)V", "GetOnCreateContextMenu_Landroid_view_ContextMenu_Landroid_view_View_Landroid_view_ContextMenu_ContextMenuInfo_Handler")>]
abstract member OnCreateContextMenu : Android.Views.IContextMenu * Android.Views.View * Android.Views.IContextMenuContextMenuInfo -> unit
override this.OnCreateContextMenu : Android.Views.IContextMenu * Android.Views.View * Android.Views.IContextMenuContextMenuInfo -> unit

パラメーター

menu
IContextMenu

ビルド中のコンテキスト メニュー

v
View

コンテキスト メニューが作成されているビュー

menuInfo
IContextMenuContextMenuInfo

コンテキスト メニューを表示する必要がある項目に関する追加情報。 この情報は、v のクラスによって異なります。

実装

属性

注釈

の Java ドキュメント android.app.Fragment.onCreateContextMenu(android.view.ContextMenu, android.view.View, android.view.ContextMenuInfo)

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象