Activity.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.
Default implementation of android.view.Window.Callback.onPanelClosed(int,Menu) for activities.
[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
int: The panel that is being displayed.
- menu
- IMenu
Menu: This value cannot be null.
Implements
- Attributes
Remarks
Default implementation of android.view.Window.Callback.onPanelClosed(int,Menu) for activities. This calls through to onOptionsMenuClosed(Menu) method for the Window.FEATURE_OPTIONS_PANEL panel, so that subclasses of Activity don't need to deal with feature codes. For context menus (Window.FEATURE_CONTEXT_MENU), the onContextMenuClosed(Menu) will be called.
Android reference for android.app.Activity.onPanelClosed.
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.