Search
ItemListView Members
Constructors Properties Methods Events
 


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

Creates an instance of ItemListView.

 Public Properties

  Name Description

autoConnectDistance

Gets or sets the maximum distance to a node when auto connecting links.

autoConnectLinks

Gets or sets whether links should be automatically connected to the nearest node.

backColor

Gets or sets the background color of the list view. (Inherited from ListViewBase.)

columns

Gets or sets the number of columns in control's layout.

draggedItem

Gets the currently dragged item. (Inherited from ListViewBase.)

element

Returns a reference to the control's DOM element. (Inherited from Control.)

enabled

Gets or sets whether mouse events are enabled. (Inherited from Control.)

iconSize

Gets or sets the size of items displayed in this list view. (Inherited from ListViewBase.)

items

Gets the items contained in this list view. (Inherited from ListViewBase.)

labelPosition

Gets or sets a value indicating the position of labels relative to item icons.

licenseLocation

Gets or sets the location of the license key file. (Inherited from Control.)

measureUnit

Gets the unit of measure used for logical coordinates. (Inherited from CanvasControl.)

newInstanceSize

Gets or sets the default size of items created by drag-and-drop from this list view. (Inherited from ListViewBase.)

orientation

Gets or sets the orientation of the view layout. (Inherited from ListViewBase.)

padding

Gets or sets the padding space between item's slot bounds and its contents. (Inherited from ListViewBase.)

shapeLibraryLocation

Gets the location of a shape library file containing custom shape definitions. It can be set to a full URL of the file, or a relative file path. (Inherited from ListViewBase.)

textColor

Gets or sets the color used to paint item captions. (Inherited from ListViewBase.)

tooltipDelay

Gets or sets the delay before a tooltip is shown. (Inherited from ListViewBase.)

 Public Methods

  Name Description

addEventListener

Registers a single event listener on the instance. (Inherited from Disposable.)

addHandlers

Adds an event listener to a DOM element. (Inherited from Control.)

addItem

Adds an item to the list view. (Inherited from ListViewBase.)

clearAll

Removes all items from the list view. (Inherited from ListViewBase.)

clearHandlers

Removes all event listeners from a DOM element. (Inherited from Control.)

clientToDoc

Transforms a point from client to document coordinates. (Inherited from CanvasControl.)

create

Creates and initializes a new ItemListView from the specified element. This method is static and can be called without creating an instance of the class.

docToClient

Transforms a point from document to client coordinates. (Inherited from CanvasControl.)

find

Returns the specified ItemListView object. This member is static and can be invoked without creating an instance of the class.

fromJson

Constructs a JavaScript object from a JSON string. (Inherited from Control.)

getItemAt

Gets the item at the specified location. (Inherited from ListViewBase.)

raiseEvent

Raises an event. (Inherited from Disposable.)

registerForSubmit

Registers an onsubmit handler for the Control's parent html form to flush postback data. (Inherited from Control.)

removeEventListener

Removes a single event listener attached to the instance. (Inherited from Disposable.)

removeItem

Removes an item from the list view. (Inherited from ListViewBase.)

selectItem

Selects the specified item. (Inherited from ListViewBase.)

toJson

Converts a JavaScript object to a JSON string. (Inherited from Control.)

 Public Events

  Name Description

linkSelected

Raised when a link is selected, either programmatically or by the user. (Inherited from ListViewBase.)

nodeSelected

Raised when a node is selected, either programmatically or by the user. (Inherited from ListViewBase.)

shapeLibraryLoaded

Raised when a ShapeLibrary is loaded from shapeLibraryLocation. (Inherited from ListViewBase.)

 See Also