Android Guides | Samples

Android.App.Dialog.OnMenuOpened Method

Called when a panel's menu is opened by the user.

Syntax

[Android.Runtime.Register("onMenuOpened", "(ILandroid/view/Menu;)Z", "GetOnMenuOpened_ILandroid_view_Menu_Handler")]
public virtual Boolean OnMenuOpened (Int32 featureId, IMenu menu)

See Also

Parameters

featureId
The panel that the menu is in.
menu
The menu that is opened.

Remarks

Called when a panel's menu is opened by the user. This may also be called when the menu is changing from one type to another (for example, from the icon menu to the expanded menu).

[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