Android Guides | Samples

Android.App.Dialog.OnPrepareOptionsMenu Method

It is usually safe to proxy this call to the owner activity's Activity.OnPrepareOptionsMenu(IMenu) if the client desires the same menu for this Dialog.

Syntax

[Android.Runtime.Register("onPrepareOptionsMenu", "(Landroid/view/Menu;)Z", "GetOnPrepareOptionsMenu_Landroid_view_Menu_Handler")]
public virtual Boolean OnPrepareOptionsMenu (IMenu menu)

See Also

Parameters

menu

Remarks

It is usually safe to proxy this call to the owner activity's Activity.OnPrepareOptionsMenu(IMenu) if the client desires the same menu for this Dialog.

[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