GoXam for WPF v3
ComputeEffectiveCollection Method
Northwoods.GoXam.Tool Namespace > DraggingTool Class : ComputeEffectiveCollection Method
Find the actual collection of nodes and links to be moved or copied, given an initial collection.
Syntax
public virtual Dictionary<Part,DraggingTool.Info> ComputeEffectiveCollection( 
   IEnumerable<Part> parts
)

Parameters

parts

Return Value

a Dictionary of Northwoods.GoXam.Parts, mapped to DraggingTool.Infos holding their original Northwoods.GoXam.Node.Locations
Remarks

Besides the Northwoods.GoXam.Parts in the parts collection, the result collection will include all member nodes and links, links whose connected nodes are both in the effective collection, and any link labels. This means that sometimes some or many of the parts that are dragged are not actually selected.

You may want to override this method to include additional parts that are related logically in some manner particular to your application. To handle the common case of wanting to move all of the tree-structure children of selected nodes, you can just set Inclusions to EffectiveCollectionInclusions.SubTree.

See Also

Reference

DraggingTool Class
DraggingTool Members