GoDiagram Web Reference
CollapseChild Method

the expected bounds of the collapsed subgraph, without the collapsed margin
Center all the objects that aren't links and make everything invisible (besides Label and Handle and Port and CollapsedObject).
Syntax
'Declaration
 
Protected Overridable Sub CollapseChild( _
   ByVal child As GoObject, _
   ByVal sgrect As RectangleF _
) 
protected virtual void CollapseChild( 
   GoObject child,
   RectangleF sgrect
)

Parameters

child
sgrect
the expected bounds of the collapsed subgraph, without the collapsed margin
Remarks

Child subgraphs are collapsed first, of course, and if they had been expanded, their WasExpanded property is set to true. If the child object has a SelectionObject, that is centered; otherwise the whole child is centered.

You may want to override this method in order to customize the sizing of child objects when the subgraph is collapsed. If you do this, you will also want to override ExpandChild to restore the original size, as saved in the SavedBounds hash table.

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

GoSubGraph Class
GoSubGraph Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback