GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoTextNode Class / LayoutChildren Method
In This Topic
    LayoutChildren Method (GoTextNode)
    In This Topic
    Size the background to fit the text, and position the ports at the edges of the background object.
    Syntax
    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.
    See Also