ASP.NET Pack Programmer's Guide
Selection Members
Constructors Fields Methods
 


Represents a set of items selected in the Diagram document.

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

 Public Constructors

  Name Description

Selection

Initializes a new instance of the Selection class.

 Public Fields

  Name Description

allowMultipleSelection

A value indicating whether more than one items can be selected simultaneously.

items

A list of DiagramItem objects.

links

A list of DiagramLink objects.

nodes

A list of DiagramNode objects.

 Public Methods

  Name Description

addItem

Adds an item to the Selection.

allowDrag

DiagramItem.allowDrag override.

clear

Removes all items from the selection.

endDrag

DiagramItem.endDrag override.

onRemove

DiagramItem.onRemove override.

removeItem

Removes an item from the Diagram.

saveLocationState

DiagramItem.saveLocationState override.

startDrag

DiagramItem.startDrag override.

updateDrag

DiagramItem.updateDrag override.

 See Also

Selection Class
MindFusion.Diagramming Namespace