Android.Views.IMenuItem: Method Members

The methods of Android.Views.IMenuItem are listed below. For a list of all members, see the IMenuItem Members list.

Public Methods

CollapseActionView() : bool
Collapse the action view associated with this menu item.
ExpandActionView() : bool
Expand the action view associated with this menu item.
SetActionProvider(ActionProvider) : IMenuItem
Sets the Android.Views.ActionProvider responsible for creating an action view if the item is placed on the action bar.
SetActionView(View) : IMenuItem
Set an action view for this menu item.
SetActionView(int) : IMenuItem
Set an action view for this menu item.
SetAlphabeticShortcut(char) : IMenuItem
Change the alphabetic shortcut associated with this item.
SetCheckable(bool) : IMenuItem
Control whether this item can display a check mark.
SetChecked(bool) : IMenuItem
Control whether this item is shown with a check mark.
SetEnabled(bool) : IMenuItem
Sets whether the menu item is enabled.
SetIcon(Android.Graphics.Drawables.Drawable) : IMenuItem
Change the icon associated with this item.
SetIcon(int) : IMenuItem
Change the icon associated with this item.
SetIntent(Android.Content.Intent) : IMenuItem
Change the Intent associated with this item.
SetNumericShortcut(char) : IMenuItem
Change the numeric shortcut associated with this item.
SetOnActionExpandListener(IMenuItemOnActionExpandListener) : IMenuItem
Set an Android.Views.IMenuItemOnActionExpandListener on this menu item to be notified when the associated action view is expanded or collapsed.
SetOnMenuItemClickListener(IMenuItemOnMenuItemClickListener) : IMenuItem
Set a custom listener for invocation of this menu item.
SetShortcut(char, char) : IMenuItem
Change both the numeric and alphabetic shortcut associated with this item.
SetShowAsAction(ShowAsAction)
Sets how this item should display in the presence of an Action Bar.
SetShowAsActionFlags(ShowAsAction) : IMenuItem
Sets how this item should display in the presence of an Action Bar.
SetTitle(Java.Lang.ICharSequence) : IMenuItem
Change the title associated with this item.
SetTitle(int) : IMenuItem
Change the title associated with this item.
SetTitleCondensed(Java.Lang.ICharSequence) : IMenuItem
Change the condensed title associated with this item.
SetVisible(bool) : IMenuItem
Sets the visibility of the menu item.