Share via


Dialog.OnMenuOpened(Int32, IMenu) Method

Definition

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

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

Parameters

featureId
Int32

The panel that the menu is in.

menu
IMenu

The menu that is opened.

Returns

Implements

Attributes

Remarks

Java documentation for android.app.Dialog.onMenuOpened(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.OnMenuOpened(System.Int32%2c+Android.Views.IMenu)>