Android.Views.IMenuItem Members

The members of Android.Views.IMenuItem are listed below.

Public Properties

[read-only]
ActionProviderActionProvider. Gets the Android.Views.ActionProvider.
[read-only]
ActionViewView. Returns the currently set action view for this menu item.
[read-only]
AlphabeticShortcutchar. Return the char for this menu item's alphabetic shortcut.
[read-only]
GroupIdint. Return the group identifier that this menu item is part of.
[read-only]
HasSubMenubool. Check whether this item has an associated sub-menu.
[read-only]
IconAndroid.Graphics.Drawables.Drawable. Returns the icon for this item as a Drawable (getting it from resources if it hasn't been loaded before).
[read-only]
IntentAndroid.Content.Intent. Return the Intent associated with this item.
[read-only]
IsActionViewExpandedbool. Returns true if this menu item's action view has been expanded.
[read-only]
IsCheckablebool. Return whether the item can currently display a check mark.
[read-only]
IsCheckedbool. Return whether the item is currently displaying a check mark.
[read-only]
IsEnabledbool. Return the enabled state of the menu item.
[read-only]
IsVisiblebool. Return the visibility of the menu item.
[read-only]
ItemIdint. Return the identifier for this menu item.
[read-only]
MenuInfoIContextMenuContextMenuInfo. Gets the extra information linked to this menu item.
[read-only]
NumericShortcutchar. Return the char for this menu item's numeric (12-key) shortcut.
[read-only]
Orderint. Return the category and order within the category of this item.
[read-only]
SubMenuISubMenu. Get the sub-menu to be invoked when this item is selected, if it has one.
[read-only]
TitleCondensedFormattedJava.Lang.ICharSequence. Retrieve the current condensed title of the item.
[read-only]
TitleFormattedJava.Lang.ICharSequence. Retrieve the current title of the item.

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.