Visual Basic (Declaration) | |
---|---|
Public Overridable Function ComputeEffectiveCollection( _ ByVal parts As IEnumerable(Of Part) _ ) As Dictionary(Of Part,DraggingTool.Info) |
C# | |
---|---|
public virtual Dictionary<Part,DraggingTool.Info> ComputeEffectiveCollection( IEnumerable<Part> parts ) |
Parameters
- parts
Return Value
aDictionary
of Northwoods.GoXam.Parts, mapped to DraggingTool.Infos holding their original Northwoods.GoXam.Node.LocationsBesides 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.