Skip to main content
Tab

MenuItem Members

Represents an individual menu item within menu controls.

Constructors

Name Description
MenuItem() Initializes a new instance of the MenuItem class with default settings.
MenuItem(String, String, String, String, String) Initializes a new instance of the MenuItem class with specified settings.
MenuItem(String, String, String, String) Initializes a new instance of the MenuItem class with specified settings.
MenuItem(String, String, String) Initializes a new instance of the MenuItem class with specified settings.
MenuItem(String, String) Initializes a new instance of the MenuItem class with specified settings.
MenuItem(String) Initializes a new instance of the MenuItem class with the specified display text.

Properties

Name Description
AdaptivePriority Gets or sets the priority of item hiding in adaptive mode.
AdaptiveText Specifies the text content of the current menu item when it is displayed in the adaptive drop-down menu.
Alignment Gets or sets the value that specifies a root item’s horizontal layout within the menu.
BeginGroup Gets or sets a value that specifies whether the current menu item starts a group.
Checked Gets or sets whether the menu item is checked.
ClientEnabled Gets or sets a value that indicates whether the menu item is enabled on the client.
ClientVisible Gets or sets a value that specifies the menu item’s initial visibility state on the client.
Collection Gets the collection to which an item belongs. Inherited from CollectionItem.
DataItem Gets the data item that is bound to the menu item.
DataPath Gets the path to the data that is bound to the menu item.
Depth Gets the level at which a menu item is displayed.
DropDownMode Gets or sets a value that specifies whether the menu item’s sub menu should only be invoked by using a specific drop down button.
Enabled Gets or sets a value that indicates whether the menu item is enabled, allowing the item to respond to end-user interactions.
EnableScrolling Gets or sets a value indicating whether submenu scrolling is enabled for a particular menu item.
GroupName Gets or sets the name of a logical check group to which the menu item belongs.
HasChildren Returns a value that indicates whether the current menu item has any child items.
HasVisibleChildren Returns a value that indicates whether the current menu item has visible child items.
Image Gets the settings of an image displayed within the menu item.
Index Gets or sets the item’s index within the collection. Inherited from CollectionItem.
IndexPath For internal use only.
Items Gets a collection that contains the submenu items of the current menu item.
ItemStyle Gets the style settings for the current menu’s item.
Menu Gets the menu object to which the current menu item belongs.
Name Gets or sets the unique identifier name for the current menu item.
NavigateUrl Gets or sets an URL which defines the navigation location.
Parent Gets the immediate parent menu item to which the current menu item belongs.
PopOutImage Gets the settings of an image, which represents an item’s pop-out image.
ScrollButtonStyle Gets the style settings that define the appearance of scroll buttons for a particular item.
ScrollDownButtonImage Gets the settings which define an image, displayed within a particular item’s scroll down button .
ScrollUpButtonImage Gets the settings which define an image, displayed within a particular item’s scroll up button .
Selected Gets or sets a value that specifies whether the current menu item is selected.
SubMenuItemImage Gets the settings of an image displayed by all the submenu items of the current menu item.
SubMenuItemStyle Gets the style settings for all submenu items of the current menu item.
SubMenuPopOutImage Gets the settings of an image displayed by all pop-out images of the current submenu items.
SubMenuStyle Gets the style settings for the client regions of all submenus of the current menu item.
SubMenuTemplate Gets or sets a template used for displaying the client region’s content of the current menu item’s submenus.
Target Gets or sets the window or frame at which to target the contents of the URL associated with the current menu item.
Template Gets or sets a template used to display the content of the current menu item.
Text Gets or sets the text content of the current menu item.
TextTemplate Gets or sets a template used for displaying the text content of the current menu item.
ToolTip Gets or sets the current menu item’s tooltip text.
Visible Gets or sets a value specifying the visibility of the current menu item.
VisibleIndex Gets or sets a value specifying the position of the current menu item amongst the visible items in a submenu (or at a menu’s root level).

Methods

Name Description
Assign(CollectionItem) Copies the settings from the specified CollectionItem object to the current object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
FindControl(String) Searches the current naming container for a server control with the specified id parameter.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns the string that represents the current object.
See Also