Search
ItemListView Methods
 


 Public Methods

  Name Description

AddItem

Overloaded.  

ControlLoadedScript

Sets the name of a JavaScript function that should be invoked when the control is loaded on the client side.

FromJson

Overloaded.  

FromRequest

Initializes a new instance of the ItemListView class.

Init

Renders the ItemListView's initializing scripts on a web page under the specified function name.

LinkSelectedScript

Sets the name of a JavaScript function that should be invoked when a link is selected, either programmatically or by the user.

LoadFromJson

Loads the specified JSON data.

NodeSelectedScript

Sets the name of a JavaScript function that should be invoked when a node is selected, either programmatically or by the user.

RegisterItemType

Overloaded.  

RegisterSession

Registers the session instance with the ItemTypeResolver used in custom item serialization.

RemoveItem

Removes a DiagramItem from the displayed items collection.

Render

Renders the ItemListView on a web page.

SaveToJson

Serializes the ItemListView's data to JSON.

SetAddScriptReferences

Sets a value indicating whether the control should render references to the client scripts.

SetAutoConnectDistance

Sets the maximum distance to a node when auto connecting links.

SetAutoConnectLinks

Sets whether links should be automatically connected to the nearest node.

SetBackColor

Sets the background color of the ItemListView control.

SetColumns

Sets the number of columns in control's layout.

SetEnabled

Sets a value indicating whether handling of mouse events is enabled.

SetFont

Sets the font of the items captions.

SetIconSize

Sets the size of the items displayed in the view.

SetLabelPosition

Sets a value indicating the position of labels relative to item icons.

SetMinVisibleFontSize

Sets a threshold value that hides text if scaled font sizes become smaller.

SetNewInstanceSize

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

SetOrientation

Sets the layout orientation of the control.

SetTextColor

Sets the text color of the items captions.

ShapeLibraryLoadedScript

Sets the name of a JavaScript function that should be invoked when a shape library is loaded.

ToJson

Serializes the ItemListView's data to JSON.

 See Also