共用方式為


Dialog.OnPanelClosed(Int32, IMenu) Method

Definition

Called when a panel is being closed.

[Android.Runtime.Register("onPanelClosed", "(ILandroid/view/Menu;)V", "GetOnPanelClosed_ILandroid_view_Menu_Handler")]
public virtual void OnPanelClosed (int featureId, Android.Views.IMenu menu);
[<Android.Runtime.Register("onPanelClosed", "(ILandroid/view/Menu;)V", "GetOnPanelClosed_ILandroid_view_Menu_Handler")>]
abstract member OnPanelClosed : int * Android.Views.IMenu -> unit
override this.OnPanelClosed : int * Android.Views.IMenu -> unit

Parameters

featureId
Int32

The panel that is being displayed.

menu
IMenu

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

Implements

Attributes

Remarks

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