Northwoods.Go Assembly > Northwoods.Go Namespace > GoGroup Class : LayoutChildren Method |
'Declaration Public Overridable Sub LayoutChildren( _ ByVal childchanged As GoObject _ )
public virtual void LayoutChildren( GoObject childchanged )
By default this method does nothing. However, this method is frequently overridden.
Implementations of this method probably should not refer, directly or indirectly, to this group's GoObject.GoObject.Bounds property. Instead, you should just position and size the children based on the bounds of the children (not this group's bounds), and let this group's bounds be determined by the union of the bounds of the children.
For groups that may have many children, overrides will often check the GoObject.GoObject.Initializing flag. If true, this method usually does nothing; later when all the changes have been performed is that flag set to false and this method is called explicitly with a null argument.
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