Search
ListContainer Members
Constructors Properties Methods Events
 


A base class for UI controls, which serve as a container for a list of items.

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

 Public Constructors

  Name Description

ListContainer

Initializes a new instance of the ListContainer class.

 Public Properties

  Name Description

acceptDrop

Gets or sets the ListItem instance that can be dropped.

allowDrag

Gets or sets whether drag and drop capabilities are enabled.

allowDrop

Gets or sets whether the ListContainer control can be used as a drop target.

allowMultipleSelection

Gets or sets whether users are allowed to select more than one item at a time.

content

Gets a reference to the container's content element.

items

Gets the collection of ListItem-s.

itemSize

Gets or sets the size of the list items.

orientation

Gets or sets a value indicating how list items are arranged.

selection

Gets the collection of selected items.

 Public Methods

  Name Description

attach

Control.attach override.

deselectItem

Deselects an item.

detach

Control.detach override.

fromJson

Deserializes items from a JSON string.

fromObject

Loads items from a data object.

getItemAt

Gets the item at the specified point.

raiseItemDragEnd

Raises the itemDragEnd event.

selectItem

Selects a ListItem.

toJson

Serializes the ListItem-s to a JSON string.

 Public Events

  Name Description

dragDrop

Raised when an item is dropped onto the control.

dragOver

Raised when an item is dragged over the control.

itemClick

Raised when an item is clicked.

itemDoubleClick

Raised when an item is double-clicked.

itemDrag

Raised when an item is dragged.

itemDragEnd

Raised when a drag operation on an item is finished.

itemDragStart

Raised when a drag operation on an item is started.

itemDraw

Raised when an item is being drawn.

itemDrop

Raised when a drop operation is finished.

itemMouseDown

Raised when a mousedown event occurs in an item's element.

itemMouseEnter

Raised when a mouseenter event occurs in an item's element.

itemMouseLeave

Raised when a mouseleave event occurs in an item's element.

itemsChanged

Raised when the items collection is changed.

itemsChanging

Raised when the items collection is changing.

selectionChanged

Raised when the selection collection is changed.

selectionChanging

Raised when the selection collection is changing.

 See Also