Android Guides | Samples

Android.Views.ISubMenu

Subclass of Menu for sub menus.

See Also: ISubMenu

Syntax

[Android.Runtime.Register("android/view/SubMenu", "", "Android.Views.ISubMenuInvoker")]
public interface ISubMenu : IMenu, IDisposable

Remarks

Subclass of Menu for sub menus.

Sub menus do not support item icons, or nested sub menus.

Developer Guides

For information about creating menus, read the Menus developer guide.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

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

Public Properties

[read-only]
ItemIMenuItem. Gets the IMenuItem that represents this submenu in the parent menu.

Public Methods

ClearHeader()
Clears the header of the submenu.
SetHeaderIcon(Drawable) : ISubMenu
Sets the submenu header's icon to the icon given in iconDrawable.
SetHeaderIcon(Int32) : ISubMenu
Sets the submenu header's icon to the icon given in iconRes resource id.
SetHeaderTitle(ICharSequence) : ISubMenu
Sets the submenu header's title to the title given in title.
SetHeaderTitle(Int32) : ISubMenu
Sets the submenu header's title to the title given in titleRes resource identifier.
SetHeaderView(View) : ISubMenu
Sets the header of the submenu to the View given in view.
SetIcon(Drawable) : ISubMenu
Change the icon associated with this submenu's item in its parent menu.
SetIcon(Int32) : ISubMenu
Change the icon associated with this submenu's item in its parent menu.