MindFusion.UI for WebForms Programmer's Guide

MenuItem Members

Fields Methods
 


Represents an item within a Menu.

The following tables list the members exposed by the MenuItem type.

 Public Fields

  Name Description

Dom

An object, which keeps references to various Dom elements, part of the control's structure

items

The collection of child MenuItems for this item.

parent

The parent Menu control of this item.

 Public Methods

  Name Description

collapse

Collapses the item.

createItem

Creates a new MenuItem instance and adds it to the control's items array.

deleteItem

Removes a MenuItem from the collection of items.

dispose

Sys.UI.Control.dispose override.

expand

Expands the item.

get_enabled

Gets a value indicating whether user interaction with this item is allowed.

get_imageUrl

Gets the URL of the image that will be displayed.

get_index

Gets the index of this item.

get_isRoot

Gets a value indicating whether this item is a root item.

get_navigateUrl

Gets the URL of the page that will be navigated to when a user clicks the MenuItem.

get_title

Gets the title text displayed by this item.

get_tooltip

Gets the tooltip text displayed by this item.

get_value

Gets the custom data associated with this item.

getAllItems

Gets the collection of child items for this item.

initialize

Sys.UI.Control.initialize override.

set_enabled

Sets a value indicating whether user interaction with this item is allowed.

set_imageUrl

Sets the URL of the image that will be displayed.

set_navigateUrl

Sets the URL of the page that will be navigated to when a user clicks the MenuItem.

set_title

Sets the title text displayed by this item.

set_tooltip

Sets the tooltip text displayed by this item.

set_value

Sets the custom data associated with this item.

 See Also