Search
DiagramView Methods
 


 Public Methods

  Name Description

AnimatedLayoutCompletedScript

Sets the name of a JavaScript function that should be invoked when an animated layout completes.

CellTextEditedScript

Sets the name of a JavaScript function that should be invoked when the user edits the text of a table cell.

CellTextEditingScript

Sets the name of a JavaScript function that should be invoked when the user starts to edit the text of a table cell.

ClickedScript

Sets the name of a JavaScript function that should be invoked when the user clicks the diagram at a point where no items are located.

ContainerChildAddedScript

Sets the name of a JavaScript function that should be invoked when a child node is added to a container.

ContainerChildAddingScript

Sets the name of a JavaScript function that should be invoked before a child node is added to a container.

ContainerChildRemovedScript

Sets the name of a JavaScript function that should be invoked when a child node is removed from a container.

ContainerChildRemovingScript

Sets the name of a JavaScript function that should be invoked before a child node is removed from a container.

ContainerFoldedScript

Sets the name of a JavaScript function that should be invoked when the user folds a container by clicking the arrow-up button in the container's caption area.

ContainerUnfoldedScript

Sets the name of a JavaScript function that should be invoked when the user unfolds a container by clicking the arrow-down button in the container's caption area.

ControlLoadedScript

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

CreateEditControlScript

Sets the name of a JavaScript function that should be invoked when when the inplace-edit control is created.

DataLoadedScript

Sets the name of a JavaScript function that should be invoked when the diagram data is loaded.

DeserializeTagScript

Sets the name of a JavaScript function that should be invoked when the Tag or Id of a diagram item must be deserialized from XML format.

DiagramToView

Overloaded. Transforms points from the document coordinate space to the client coordinate space.

DrawAdjustmentHandlesScript

Sets the name of a JavaScript function that should be invoked when item’s adjustment handles must be custom drawn.

EnterInplaceEditScript

Sets the name of a JavaScript function that should be invoked when when entering inplace-edit mode.

FromJson

Overloaded.  

FromRequest

Overloaded.  

HeaderResizedScript

Sets the name of a JavaScript function that should be invoked when the user finished resizing a header.

HeaderStartResizingScript

Sets the name of a JavaScript function that should be invoked when the user starts resizing a header.

HitTestAdjustmentHandlesScript

Sets the name of a JavaScript function that should be invoked when custom hit testing of item’s adjustment handles must be performed.

HyperlinkClickedScript

Sets the name of a JavaScript function that should be invoked when the user clicks a hyperlink inside a node.

Init

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

InitializeLinkScript

Sets the name of a JavaScript function that should be invoked when the user starts drawing a new link, just after the DiagramLink instance is created.

InitializeNodeScript

Sets the name of a JavaScript function that should be invoked when the user starts drawing a new node, just after the DiagramNode instance is created.

ItemAddedScript

Sets the name of a JavaScript function that should be invoked when an item is added to the diagram.

ItemRemovedScript

Sets the name of a JavaScript function that should be invoked when an item is removed from the diagram.

LaneGridCellTextEditedScript

Sets the name of a JavaScript function that should be invoked hen the used edits the text of a grid cell.

LeaveInplaceEditScript

Sets the name of a JavaScript function that should be invoked when when leaving inplace-edit mode.

LinkClickedScript

Sets the name of a JavaScript function that should be invoked when the users clicks a link.

LinkCreatedScript

Sets the name of a JavaScript function that should be invoked when the user draws a new link.

LinkCreatingScript

Sets the name of a JavaScript function that should be invoked while the user is drawing a new link.

LinkDeletedScript

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

LinkDeletingScript

Sets the name of a JavaScript function that should be invoked when the user tries to delete a link.

LinkDeselectedScript

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

LinkDoubleClickedScript

Sets the name of a JavaScript function that should be invoked when the users double-clicks a link.

LinkModifiedScript

Sets the name of a JavaScript function that should be invoked when the user moves any control point of a link.

LinkModifyingScript

Sets the name of a JavaScript function that should be invoked while the user is modifying a link.

LinkPastedScript

Sets the name of a JavaScript function that should be invoked when a diagram link is pasted from clipboard.

LinkPointedScript

Sets the name of a JavaScript function that should be invoked when the mouse pointer hovers over a link.

LinkSelectedScript

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

LinkSelectingScript

Sets the name of a JavaScript function that should be invoked when the user tries to select a link.

LinkTextEditedScript

Sets the name of a JavaScript function that should be invoked when the user edits the text of a link.

LinkTextEditingScript

Sets the name of a JavaScript function that should be invoked when the user starts to edit the text of a link.

LoadFromJson

Overloaded.  

MouseWheelScript

Sets the name of a JavaScript function that should be invoked when the user rotates the mouse wheel while the cursor is positioned over the diagram surface.

NodeClickedScript

Sets the name of a JavaScript function that should be invoked when the users clicks a node.

NodeCreatedScript

Sets the name of a JavaScript function that should be invoked when the user draws a new node.

NodeCreatingScript

Sets the name of a JavaScript function that should be invoked while the user is drawing a new node.

NodeDeletedScript

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

NodeDeletingScript

Sets the name of a JavaScript function that should be invoked when the user tries to delete a node.

NodeDeselectedScript

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

NodeDomCreatedScript

Sets the name of a JavaScript function that should be invoked when the content of a ControlNode is added to the page DOM.

NodeDoubleClickedScript

Sets the name of a JavaScript function that should be invoked when the users double-clicks a node.

NodeModifiedScript

Sets the name of a JavaScript function that should be invoked when the user moves or resizes a node.

NodeModifyingScript

Sets the name of a JavaScript function that should be invoked while the user is moving or resizing a node.

NodePastedScript

Sets the name of a JavaScript function that should be invoked when a diagram node is pasted from clipboard.

NodePointedScript

Sets the name of a JavaScript function that should be invoked when the mouse pointer hovers over a node.

NodeSelectedScript

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

NodeSelectingScript

Sets the name of a JavaScript function that should be invoked when the user tries to select a node.

NodeTextEditedScript

Sets the name of a JavaScript function that should be invoked when the user edits the text of a node.

NodeTextEditingScript

Sets the name of a JavaScript function that should be invoked when the user starts to edit the text of a node.

RegisterConverters

Registers custom converters used for custom item types serialization.

RegisterItemType

Overloaded.  

RegisterSession

Overloaded.  

Render

Renders the DiagramView on a web page.

RepaintScript

Sets the name of a JavaScript function that should be invoked when the diagram has been repainted.

SaveToJson

Serializes the DiagramView's data to JSON.

SelectionChangedScript

Sets the name of a JavaScript function that should be invoked when the diagram selection has changed.

SelectionModifyingScript

Sets the name of a JavaScript function that should be invoked while the user is moving or resizing multiple items.

SerializeTagScript

Sets the name of a JavaScript function that should be invoked when the Tag or Id of a diagram item must be serialized in XML format.

SetAddScriptReferences

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

SetAllowInplaceEdit

Sets a value indicating whether in-place editing of the text of objects is enabled.

SetAutoScroll

Sets a value indicating whether auto scrolling of the document area is enabled.

SetBehavior

Sets a value indicating how the control responds to user actions.

SetCustomLinkType

Sets the type of a MindFusion.Diagramming.DiagramLink derived class whose instance should be created when a user starts drawing.

SetCustomNodeType

Sets the type of a MindFusion.Diagramming.DiagramNode derived class whose instance should be created when a user starts drawing.

SetDelKeyAction

Sets a value indicating the action that should be performed when the user hits the Del key.

SetEnabled

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

SetEnableMultiTouch

Sets a value indicating whethr the control handles DOM pointer events to implement multi-touch interactions, such as zooming, node rotation or simultaneous drawing of multiple diagram items.

SetFallbackContent

Sets the HTML to be rendered as the canvas' fallback content.

SetHeight

Sets the height of the view.

SetMagnifierEnabled

Sets a value indicating whether the magnifier tool is currently enabled.

SetMagnifierFactor

Sets the zoom factor of the magnifier tool.

SetMagnifierFrameColor

Sets the color of the magnifier frame.

SetMagnifierFrameThickness

Sets the thickness of the magnifier frame, expressed in pixels.

SetMagnifierHeight

Sets the height of the magnifier tool, expressed in pixels.

SetMagnifierSecondaryFrameColor

Sets the secondary color of the magnifier frame.

SetMagnifierShading

Sets a value indicating whether to enhance the effect of a magnifier lense by using a gradient shading.

SetMagnifierShape

Sets the shape of the magnifier tool.

SetMagnifierWidth

Sets the width of the magnifier tool, expressed in pixels.

SetMaxJsonLength

Sets the maximum length of JSON strings that are accepted by internal JavaScriptSerializer instances.

SetMinVisibleFontSize

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

SetModificationStart

Sets how users can start modifying diagram items.

SetMouseWheelAction

Sets a value indicating what action to perform when users rotate the mouse wheel.

SetMultiTouchDraw

Sets a value indicating whether the control allows drawing multiple items simultaneously.

SetMultiTouchModify

Sets a value indicating whether multi-touch modifications are enabled.

SetMultiTouchZoom

Sets a value indicating whether multi-touch zoom is enabled.

SetRecursionLimit

Sets the limit for constraining the number of object levels to process by internal JavaScriptSerializer instances.

SetScrollLeft

Sets the view's X scroll position.

SetScrollTop

Sets the view's Y scroll position.

SetShowScrolbars

Sets a value indicating whether the scrollbars are visible.

SetTooltipDelay

Sets the delay before a tooltip is shown.

SetVirtualScroll

Sets a value indicating whether virtual scroll mode is enabled.

SetWidth

Sets the width of the view.

SetZoomFactor

Sets the zoom of the view.

SizeChangedScript

Sets the name of a JavaScript function that should be invoked when the size of the diagram canvas has changed.

TableColumnResizedScript

Sets the name of a JavaScript function that should be invoked when the user finishes resizing a column in a table interactively.

TableColumnResizingScript

Sets the name of a JavaScript function that should be invoked when the user resizes a column in a table interactively.

TableRowResizedScript

Sets the name of a JavaScript function that should be invoked when the user finishes resizing a row in a table interactively.

TableRowResizingScript

Sets the name of a JavaScript function that should be invoked when the user resizes a row in a table interactively.

ToJson

Serializes the DiagramView's data to JSON.

TreeCollapsedScript

Sets the name of a JavaScript function that should be invoked when a user collapses a tree branch by clicking the [+] button of an Expandable node.

TreeExpandedScript

Sets the name of a JavaScript function that should be invoked when a user expands a tree branch by clicking the [+] button of an Expandable node.

TreeItemTextEditedScript

Sets the name of a JavaScript function that should be invoked when the user edits the text of a tree view item.

TreeItemTextEditingScript

Sets the name of a JavaScript function that should be invoked when the user starts to edit the text of a tree view item.

ViewToDiagram

Overloaded.  

 Protected Methods

  Name Description

GetAttributes

 

LoadViewProps

 

SaveViewProps

 

 See Also