Window.ICallback.OnPanelClosed(Int32, IMenu) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when a panel is being closed.
[Android.Runtime.Register("onPanelClosed", "(ILandroid/view/Menu;)V", "GetOnPanelClosed_ILandroid_view_Menu_Handler:Android.Views.Window/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnPanelClosed (int featureId, Android.Views.IMenu menu);
[<Android.Runtime.Register("onPanelClosed", "(ILandroid/view/Menu;)V", "GetOnPanelClosed_ILandroid_view_Menu_Handler:Android.Views.Window/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member 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.
- Attributes
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.
Java documentation for android.view.Window.Callback.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.