Search
MenuItem Members
Constructors Properties Methods
 


Represents an item in a menu.

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

 Public Constructors

  Name Description

MenuItem

Initializes a new instance of the MenuItem class.

 Public Properties

  Name Description

bounds

Gets the bounds of this ListItem. (Inherited from ListItem.)

contentElement

Gets a reference to the item's content element. (Inherited from ListItem.)

cssClass

Gets or sets the css class of this ListItem. (Inherited from ListItem.)

data

Gets or sets an object, holding custom user data. (Inherited from ListItem.)

dataIndex

Gets or sets the unique index of this item. (Inherited from ListItem.)

element

Gets a reference to the item's DOM element. (Inherited from ListItem.)

enabled

Gets or sets a value indicating whether user interactions are allowed for this item. (Inherited from ListItem.)

expandable

Gets a value indicating whether the TreeNode is expandable. (Inherited from TreeNode.)

expanded

Gets or sets a value indicating whether the TreeNode is expanded. (Inherited from TreeNode.)

flatItems

Gets the collection of children items as a flat list. (Inherited from TreeNode.)

href

Gets or sets the URL this item is pointing to.

imageSrc

Gets or sets the URL of the image displayed by this item. (Inherited from ListItem.)

interactive

Gets or sets a value indicating whether drag and drop operations are allowed for this ListItem. (Inherited from ListItem.)

items

Gets the children of the TreeNode. (Inherited from TreeNode.)

level

Gets the depth of the TreeNode in the TreeView hierarchy. (Inherited from TreeNode.)

loaded

Gets a value indicating whether this item is loaded and ready for interaction. (Inherited from ListItem.)

selected

Gets a value indicating whether the item is selected. (Inherited from ListItem.)

size

Gets or sets the size of this item. (Inherited from ListItem.)

target

Gets or sets a value indicating where the linked document is loaded.

template

Gets or sets an HTML string, representing the template. (Inherited from TemplatedItem.)

title

Gets or sets the display text of this item. (Inherited from ListItem.)

tooltip

Gets or sets the tooltip of this ListItem. (Inherited from ListItem.)

visible

Gets or sets the visibility of this ListItem. (Inherited from ListItem.)

 Public Methods

  Name Description

draw

TreeNode.draw override.

 See Also