Compartilhar via


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

The panel that is being displayed.

view
View

The View that was returned by onCreatePanelView().

menu
IMenu

If onCreatePanelView() returned null, this is the Menu being displayed in the panel.

Returns

Implements

Attributes

Remarks

Java documentation for android.app.Dialog.onPreparePanel(int, android.view.View, 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.OnPreparePanel(System.Int32%2c+Android.Views.View%2c+Android.Views.View)>