ActionMode.ICallback.OnActionItemClicked(ActionMode, IMenuItem) 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 to report a user click on an action button.
[Android.Runtime.Register("onActionItemClicked", "(Landroid/view/ActionMode;Landroid/view/MenuItem;)Z", "GetOnActionItemClicked_Landroid_view_ActionMode_Landroid_view_MenuItem_Handler:Android.Views.ActionMode/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool OnActionItemClicked (Android.Views.ActionMode mode, Android.Views.IMenuItem item);
[<Android.Runtime.Register("onActionItemClicked", "(Landroid/view/ActionMode;Landroid/view/MenuItem;)Z", "GetOnActionItemClicked_Landroid_view_ActionMode_Landroid_view_MenuItem_Handler:Android.Views.ActionMode/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnActionItemClicked : Android.Views.ActionMode * Android.Views.IMenuItem -> bool
Parameters
- mode
- ActionMode
The current ActionMode
- item
- IMenuItem
The item that was clicked
Returns
true if this callback handled the event, false if the standard MenuItem invocation should continue.
- Attributes
Remarks
Called to report a user click on an action button.
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.