GoDiagram Web Reference
LayoutChildren Method (GoTextNode)

Size the background to fit the text, and position the ports at the edges of the background object.
Syntax
'Declaration
 
Public Overrides Sub LayoutChildren( _
   ByVal childchanged As GoObject _
) 
public override void LayoutChildren( 
   GoObject childchanged
)

Parameters

childchanged
Remarks
This method uses the TopLeftMargin and BottomRightMargin properties to decide how much bigger the background should be than the text label. This method does nothing if there is no Label. If AutoResizes is false, the Background object is not resized, but the Label's bounds and WrappingWidth are updated according to how much room is left inside the Background after subtracting the margins.
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

GoTextNode Class
GoTextNode Members
Base Implementation in LayoutChildren

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback