Callback for creating a copy of draggedNode in graph with the given layout.

Namespace: yWorks.yFiles.UI.Input
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.4.0.0

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.

Return Value

The node that has been created, or nullNothingnullptra null reference (Nothing in Visual Basic) if no node should be created.

See Also