Search
NodeListView Members
Constructors Properties Methods
 


ListBox control with support for hosting Diagram nodes and dragging them to the Diagram control.

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

 Public Constructors

  Name Description

NodeListView

Overloaded. Creates an instance of NodeListView.

 Public Properties

  Name Description

AddScriptReferences

Gets or sets a value indicating whether the control should render references to the client scripts.

AutoClasses

Gets the registered client types with JSON templates.

BackColor

Gets or sets the background color of the NodeListView control.

ClientScriptLocation

Gets or sets the URL to the MindFusion.Diagramming.js file.

Converters

Gets the registered custom converters.

DefaultNodeSize

Gets or sets the default size with which nodes dragged onto a diagram will be created.

Enabled

Gets or sets a value indicating whether handling of mouse events is enabled.

Font

Gets or sets the font of the nodes captions.

Height

Gets or sets the height of the view.

Id

Gets or sets the id of the view.

Items

Gets or sets the collection of nodes displayed in the view.

ItemTypes

Gets the registered item types.

MeasureUnit

Gets or sets the measure unit.

MinVisibleFontSize

Gets or sets a threshold value that hides text if scaled font sizes become smaller.

NodeSize

Gets or sets the size of the nodes displayed in the view.

Orientation

Gets or sets the layout orientation of the control.

Padding

Gets or sets the padding.

TextColor

Gets or sets the color of the nodes captions.

Width

Gets or sets the width of the view.

 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