Dialog.OnCreatePanelMenu(Int32, IMenu) Method

Definition

Initialize the contents of the menu for panel 'featureId'.

[Android.Runtime.Register("onCreatePanelMenu", "(ILandroid/view/Menu;)Z", "GetOnCreatePanelMenu_ILandroid_view_Menu_Handler")]
public virtual bool OnCreatePanelMenu (int featureId, Android.Views.IMenu menu);
[<Android.Runtime.Register("onCreatePanelMenu", "(ILandroid/view/Menu;)Z", "GetOnCreatePanelMenu_ILandroid_view_Menu_Handler")>]
abstract member OnCreatePanelMenu : int * Android.Views.IMenu -> bool
override this.OnCreatePanelMenu : int * Android.Views.IMenu -> bool

Parameters

featureId
Int32

The panel being created.

menu
IMenu

The menu inside the panel.

Returns

Implements

Attributes

Remarks

Java documentation for android.app.Dialog.onCreatePanelMenu(int, android.view.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

  • <xref:Android.App.Activity.OnCreatePanelMenu(System.Int32%2c+Android.Views.IMenu)>