Search
NodeListView Methods
 


 Public Methods

  Name Description

AddNode

Overloaded. Adds a DiagramNode to the displayed nodes collection.

ControlLoadedScript

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

FromJson

Overloaded.  

FromRequest

Overloaded.  

Init

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

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.

RegisterConverters

Registers custom converters used for custom item types serialization.

RegisterItemType

Overloaded.  

RegisterSession

Overloaded.  

RemoveNode

Removes a DiagramNode from the displayed nodes collection.

Render

Renders the NodeListView on a web page.

SaveToJson

Serializes the NodeListView's data to JSON.

SetAddScriptReferences

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

SetBackColor

Sets the background color of the NodeListView control.

SetDefaultNodeSize

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

SetEnabled

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

SetFont

Sets the font of the nodes captions.

SetHeight

Sets the height of the view.

SetMinVisibleFontSize

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

SetNodeSize

Sets the size of the nodes displayed in the view.

SetOrientation

Sets the layout orientation of the control.

SetTextColor

Sets the text color of the nodes captions.

SetWidth

Sets the width of the view.

ToJson

Serializes the NodeListView's data to JSON.

 See Also