Search
ListViewBase Members
Properties Methods Events
 


The base class of ItemListView and NodeListView controls.

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

 Public Properties

  Name Description

backColor

Gets or sets the background color of the list view.

draggedItem

Gets the currently dragged item.

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.

items

Gets the items contained in this list view.

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.

orientation

Gets or sets the orientation of the view layout.

padding

Gets or sets the padding space between item's slot bounds and its contents.

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.

textColor

Gets or sets the color used to paint item captions.

tooltipDelay

Gets or sets the delay before a tooltip is shown.

 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.

clearAll

Removes all items from the list view.

clearHandlers

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

clientToDoc

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

docToClient

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

fromJson

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

getItemAt

Gets the item at the specified location.

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.

selectItem

Selects the specified item.

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.

nodeSelected

Raised when a node is selected, either programmatically or by the user.

shapeLibraryLoaded

Raised when a ShapeLibrary is loaded from shapeLibraryLocation.

 See Also