Search
Menu Members
Constructors Properties Methods Events
 


Represents a vertical menu.

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

 Public Constructors

  Name Description

Menu

Initializes a new instance of the Menu class.

 Public Properties

  Name Description

acceptDrop

Gets or sets the ListItem instance that can be dropped. (Inherited from ListContainer.)

allowDrag

Gets or sets whether drag and drop capabilities are enabled. (Inherited from ListContainer.)

allowDrop

Gets or sets whether the ListContainer control can be used as a drop target. (Inherited from ListContainer.)

allowMultipleSelection

Gets or sets whether users are allowed to select more than one item at a time. (Inherited from ListContainer.)

closeTimeout

Gets or sets the number of milliseconds to wait before closing an item.

content

Gets a reference to the container's content element. (Inherited from ListContainer.)

flatItems

Gets the collection of items as a flat list.

items

Gets the collection of ListItem-s. (Inherited from ListContainer.)

itemSize

Gets or sets the size of the list items. (Inherited from ListContainer.)

loadedItems

Gets the collection of loaded items as a flat list.

loadOnDemand

Gets or sets a value indicating whether menu items DOM will be created only after their parent item is expanded.

orientation

Gets or sets a value indicating how list items are arranged. (Inherited from ListContainer.)

selection

Gets the collection of selected items. (Inherited from ListContainer.)

 Public Methods

  Name Description

attach

Control.attach override. (Inherited from ListContainer.)

deselectItem

Deselects an item. (Inherited from ListContainer.)

detach

Control.detach override. (Inherited from ListContainer.)

draw

Control.draw override.

fromJson

Deserializes items from a JSON string.

fromObject

Loads the menu items from a data object.

getItemAt

Gets the item at the specified point. (Inherited from ListContainer.)

raiseItemDragEnd

Raises the itemDragEnd event. (Inherited from ListContainer.)

selectItem

Selects a ListItem. (Inherited from ListContainer.)

toJson

Serializes the ListItem-s to a JSON string. (Inherited from ListContainer.)

 Public Events

  Name Description

dragDrop

Raised when an item is dropped onto the control. (Inherited from ListContainer.)

dragOver

Raised when an item is dragged over the control. (Inherited from ListContainer.)

itemClick

Raised when an item is clicked. (Inherited from ListContainer.)

itemDoubleClick

Raised when an item is double-clicked. (Inherited from ListContainer.)

itemDrag

Raised when an item is dragged. (Inherited from ListContainer.)

itemDragEnd

Raised when a drag operation on an item is finished. (Inherited from ListContainer.)

itemDragStart

Raised when a drag operation on an item is started. (Inherited from ListContainer.)

itemDraw

Raised when an item is being drawn. (Inherited from ListContainer.)

itemDrop

Raised when a drop operation is finished. (Inherited from ListContainer.)

itemMouseDown

Raised when a mousedown event occurs in an item's element. (Inherited from ListContainer.)

itemMouseEnter

Raised when a mouseenter event occurs in an item's element. (Inherited from ListContainer.)

itemMouseLeave

Raised when a mouseleave event occurs in an item's element. (Inherited from ListContainer.)

itemsChanged

Raised when the items collection is changed. (Inherited from ListContainer.)

itemsChanging

Raised when the items collection is changing. (Inherited from ListContainer.)

selectionChanged

Raised when the selection collection is changed. (Inherited from ListContainer.)

selectionChanging

Raised when the selection collection is changing. (Inherited from ListContainer.)

 See Also