Android.App.Dialog.OnCreatePanelMenu Method
Initialize the contents of the menu for panel 'featureId'.

Syntax

[Android.Runtime.Register("onCreatePanelMenu", "(ILandroid/view/Menu;)Z", "GetOnCreatePanelMenu_ILandroid_view_Menu_Handler")]
public virtual bool OnCreatePanelMenu (int featureId, Android.Views.IMenu menu)

See Also

Activity.OnCreatePanelMenu(int, Android.Views.IMenu)

Parameters

featureId
The panel being created.
menu
The menu inside the panel.

Returns

Documentation for this section has not yet been entered.

Remarks

Initialize the contents of the menu for panel 'featureId'. This is called if onCreatePanelView() returns null, giving you a standard menu in which you can place your items. It is only called once for the panel, the first time it is shown.

You can safely hold on to menu (and any items created from it), making modifications to it as desired, until the next time onCreatePanelMenu() is called for this feature.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1