Language

Dialog.OnPreparePanel(Int32, View, IMenu) Method

Definition

Prepare a panel to be displayed.

[Android.Runtime.Register("onPreparePanel", "(ILandroid/view/View;Landroid/view/Menu;)Z", "GetOnPreparePanel_ILandroid_view_View_Landroid_view_Menu_Handler")]
public virtual bool OnPreparePanel(int featureId, Android.Views.View? view, Android.Views.IMenu menu);
[<Android.Runtime.Register("onPreparePanel", "(ILandroid/view/View;Landroid/view/Menu;)Z", "GetOnPreparePanel_ILandroid_view_View_Landroid_view_Menu_Handler")>]
abstract member OnPreparePanel : int * Android.Views.View * Android.Views.IMenu -> bool
override this.OnPreparePanel : int * Android.Views.View * Android.Views.IMenu -> bool

Parameters

featureId
Int32

int: The panel that is being displayed.

view
View

View: This value may be null.

menu
IMenu

Menu: This value cannot be null.

Returns

boolean You must return true for the panel to be displayed; if you return false it will not be shown.

Implements

Attributes

Remarks

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

See also:

Android reference for android.app.Dialog.onPreparePanel.

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