ActionMode.Callback2.OnPrepareActionMode(ActionMode, IMenu) Method
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 refresh an action mode's action menu whenever it is invalidated.
[Android.Runtime.Register("onPrepareActionMode", "(Landroid/view/ActionMode;Landroid/view/Menu;)Z", "GetOnPrepareActionMode_Landroid_view_ActionMode_Landroid_view_Menu_Handler")]
public abstract bool OnPrepareActionMode(Android.Views.ActionMode? mode, Android.Views.IMenu? menu);
[<Android.Runtime.Register("onPrepareActionMode", "(Landroid/view/ActionMode;Landroid/view/Menu;)Z", "GetOnPrepareActionMode_Landroid_view_ActionMode_Landroid_view_Menu_Handler")>]
abstract member OnPrepareActionMode : Android.Views.ActionMode * Android.Views.IMenu -> bool
- mode
- ActionMode
ActionMode being prepared
- menu
- IMenu
Menu used to populate action buttons
true if the menu or action mode was updated, false otherwise.
- Attributes
Called to refresh an action mode's action menu whenever it is invalidated.
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.
Produkt | Versioner |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |