Callback for creating a copy of draggedNode in graph with the given layout.
Namespace: yWorks.yFiles.UI.InputAssembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.1.0.2
Syntax
| C# |
|---|
public delegate INode NodeDropCreationCallback( IInputModeContext context, IGraph graph, INode draggedNode, RectD newNodeLayout ) |
| Visual Basic |
|---|
Public Delegate Function NodeDropCreationCallback ( _ context As IInputModeContext, _ graph As IGraph, _ draggedNode As INode, _ newNodeLayout As RectD _ ) As INode |
Parameters
- context
- Type: yWorks.Canvas.Input..::..IInputModeContext
The context for which the node should be created.
- graph
- Type: yWorks.yFiles.UI.Model..::..IGraph
The Graph in which to create the node.
- draggedNode
- Type: yWorks.yFiles.UI.Model..::..INode
The node which should be created.
- newNodeLayout
- Type: yWorks.Canvas.Geometry.Structs..::..RectD
The layout of the node to be created.