Dialog.OnMenuItemSelected(Int32, IMenuItem) Dialog.OnMenuItemSelected(Int32, IMenuItem) Method

Definition

Called when a panel's menu item has been selected by the user.

[Android.Runtime.Register("onMenuItemSelected", "(ILandroid/view/MenuItem;)Z", "GetOnMenuItemSelected_ILandroid_view_MenuItem_Handler")]
public virtual bool OnMenuItemSelected (int featureId, Android.Views.IMenuItem item);
abstract member OnMenuItemSelected : int * Android.Views.IMenuItem -> bool
override this.OnMenuItemSelected : int * Android.Views.IMenuItem -> bool

Parameters

featureId
Int32 Int32

The panel that the menu is in.

item
IMenuItem IMenuItem

The menu item that was selected.

Returns

Implements

Remarks

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