Android Guides | Samples

Android.App.Dialog.OnPreparePanel Method

Prepare a panel to be displayed.

Syntax

[Android.Runtime.Register("onPreparePanel", "(ILandroid/view/View;Landroid/view/Menu;)Z", "GetOnPreparePanel_ILandroid_view_View_Landroid_view_Menu_Handler")]
public virtual Boolean OnPreparePanel (Int32 featureId, View view, IMenu menu)

See Also

Parameters

featureId
The panel that is being displayed.
view
The View that was returned by onCreatePanelView().
menu
If onCreatePanelView() returned null, this is the Menu being displayed in the panel.

Remarks

Prepare a panel to be displayed. This is called right before the panel window is shown, every time it is shown.

[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