ASP.NET Pack Programmer's Guide
NodeListView Members
Constructors Methods
 


Represents a list control containing DiagramNode objects. Nodes from the list can be dragged to a Diagram canvas to create new nodes.

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

 Public Constructors

  Name Description

NodeListView

Initializes a new instance of the NodeListView class.

 Public Methods

  Name Description

addNode

Overloaded.  

addNodeListViewListener

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

addNodes

Overloaded.  

clearNodes

Removes all nodes from the list view.

getAllowRemove

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

getDefaultNodeSize

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

getIconMargin

Gets the horizontal and vertical margins around the nodes.

getIconSize

Gets the size of the nodes displayed in the list.

getMeasureUnit

Gets the unit of measure used when drawing nodes.

getNodeAt

Gets the node at the specified position.

getNodesCount

Gets the number of nodes in the list view.

insertNode

Overloaded.  

isShowLabels

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

removeNodeAt

Removes the node at the specified position.

removeNodeListViewListener

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

setAllowRemove

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

setDefaultNodeSize

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

setIconMargin

Sets the horizontal and vertical margins around the nodes.

setIconSize

Sets the size of the nodes displayed in the list.

setMeasureUnit

Sets the unit of measure used when drawing nodes.

setShowLabels

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

 Protected Methods

  Name Description

onItemSelected

 

onKeyPressed

 

onMousePressed

 

onNodeRemoved

 

onNodeSelected

 

updateComponentResize

 

 See Also

NodeListView Class
com.mindfusion.diagramming Namespace