GoXam for WPF v3
DropOnto Method
Northwoods.GoXam.Tool Namespace > DraggingTool Class : DropOnto Method
Perform any additional side-effects after a drop.
Syntax
protected virtual void DropOnto( 
   Point pt
)

Parameters

pt
Remarks

If DropOntoEnabled is true, and if the selection is dropped onto a Northwoods.GoXam.Group that has Northwoods.GoXam.Part.DropOntoBehavior set to Northwoods.GoXam.DropOntoBehavior.AddsToGroup, this will support re"parent"ing of nodes and links by adding them to the group. This calls IsValidMember to decide if the additional group membership is valid. If the selection is dropped onto the background, the selected nodes and links are removed from any groups of which they were a member and for which Northwoods.GoXam.Part.DropOntoBehavior is also set to Northwoods.GoXam.DropOntoBehavior.AddsToGroup, and they are made into top-level nodes and links.

If the target Northwoods.GoXam.Node has a Northwoods.GoXam.Part.DropOntoBehavior set to Northwoods.GoXam.DropOntoBehavior.AddsLinkFromNode or Northwoods.GoXam.DropOntoBehavior.AddsLinkToNode, this will support automatically adding a link from or to the dropped-on node with each of the dropped nodes. This calls IsValidLink to decide if the additional link relationship is valid.

If the target Northwoods.GoXam.Link has a Northwoods.GoXam.Part.DropOntoBehavior set to Northwoods.GoXam.DropOntoBehavior.SplicesIntoLink, this will support automatically removing that link and adding two links, one to and one from each of the dropped nodes, connecting with the two nodes that the original link had been connected with. This calls IsValidLink twice to decide if the additional link relationships are valid.

See Also

Reference

DraggingTool Class
DraggingTool Members