Search
ItemListView Members
Constructors Methods
 


A list view control that hosts DiagramItems and supports drag-and-drop to DiagramView.

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

 Public Constructors

  Name Description

ItemListView

Initializes a new instance of the ItemListView class.

 Public Methods

  Name Description

addItem

Overloaded.  

addItemListViewListener

Registers listener so that it will receive events when users select or delete items from the list.

addItems

Overloaded.  

clearItems

Removes all items from the list view.

getAllowRemove

Gets a value indicating whether to allow deletion of list items by pressing Del.

getAutoConnectDistance

Gets the maximum distance within which a link will attempt to auto-connect to a nearby node.

getAutoConnectLinks

Gets a value indicating whether links should be automatically connected to nearby nodes when dropped from the ItemListView.

getIconMargin

Gets the horizontal and vertical margins around the items.

getIconSize

Gets the size of the items displayed in the list.

getItemAt

Gets the item at the specified position.

getItemsCount

Gets the number of items in the list view.

getMeasureUnit

Gets the unit of measure used when drawing items.

getNewInstanceSize

Gets the default size with which items dragged onto a diagram will be created.

getShowLabels

Gets a value indicating whether to show text labels along with icons for each list item.

insertItem

Overloaded.  

removeItemAt

Removes the item at the specified position.

removeItemListViewListener

Unregisters listener so that it will no longer receive ItemListView events.

setAllowRemove

Sets a value indicating whether to allow deletion of list items by pressing Del.

setAutoConnectDistance

Sets the maximum distance within which a link will attempt to auto-connect to a nearby node.

setAutoConnectLinks

Sets a value indicating whether links should be automatically connected to nearby nodes when dropped from the ItemListView.

setIconMargin

Sets the horizontal and vertical margins around the items.

setIconSize

Sets the size of the items displayed in the list.

setMeasureUnit

Sets the unit of measure used when drawing items.

setNewInstanceSize

Sets the default size with which items dragged onto a diagram will be created.

setShowLabels

Sets a value specifying whether to show text labels along with icons for each list item.

 Protected Methods

  Name Description

onComponentResized

 

onItemRemoved

 

onItemSelected

Overloaded.  

onKeyPressed

 

 See Also