GoDiagram Win Reference
ReparentToCommonSubGraph Method

the GoObject to reparent
an object that may belong to a GoSubGraphBase
another object that may belong to a GoSubGraphBase
whether to add the obj at the beginning of the list of the subgraph's children (thus behind all other subgraph children), or at the end of the list (thus appearing in front of all the other subgraph children)
the GoLayer to which the obj should be added, if there is no common parent GoSubGraphBase for child1 and child2
Change the Parent of an object to be the common subgraph that contains two given objects, or if there is no such subgraph, add the object to the given layer.
Syntax
'Declaration
 
Public Shared Sub ReparentToCommonSubGraph( _
   ByVal obj As GoObject, _
   ByVal child1 As GoObject, _
   ByVal child2 As GoObject, _
   ByVal behind As Boolean, _
   ByVal layer As GoLayer _
) 
public static void ReparentToCommonSubGraph( 
   GoObject obj,
   GoObject child1,
   GoObject child2,
   bool behind,
   GoLayer layer
)

Parameters

obj
the GoObject to reparent
child1
an object that may belong to a GoSubGraphBase
child2
another object that may belong to a GoSubGraphBase
behind
whether to add the obj at the beginning of the list of the subgraph's children (thus behind all other subgraph children), or at the end of the list (thus appearing in front of all the other subgraph children)
layer
the GoLayer to which the obj should be added, if there is no common parent GoSubGraphBase for child1 and child2
Remarks
All of the arguments to this method should be non-null.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoSubGraphBase Class
GoSubGraphBase Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback