Android Guides | Samples

Android.App.Dialog.OnPanelClosed Method

Called when a panel is being closed.

Syntax

[Android.Runtime.Register("onPanelClosed", "(ILandroid/view/Menu;)V", "GetOnPanelClosed_ILandroid_view_Menu_Handler")]
public virtual Void OnPanelClosed (Int32 featureId, IMenu menu)

See Also

Parameters

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

Remarks

Called when a panel is being closed. If another logical subsequent panel is being opened (and this panel is being closed to make room for the subsequent panel), this method will NOT be called.

[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