Northwoods.GoWeb Assembly > Northwoods.GoWeb Namespace > GoSubGraph Class : CollapseChild Method |
'Declaration Protected Overridable Sub CollapseChild( _ ByVal child As GoObject, _ ByVal sgrect As RectangleF _ )
protected virtual void CollapseChild( GoObject child, RectangleF sgrect )
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.
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