Search
InstantiateNode Delegate
See Also
 





Represent a method that creates actual DiagramNode -derived objects to represent data items on screen.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public delegate DiagramNode InstantiateNode (
    Object dataItem
)

Visual Basic  Copy Code

Public Delegate Function InstantiateNode( _
    dataItem As Object _
) As DiagramNode

 Parameters

dataItem

A data item that should be shown on screen.

 Return Value

A DiagramNode instance.

 Remarks

The delegate method can be assigned to the InstantiateNode property of VirtualizingDiagram to create instances of a custom node type.

 See Also