GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoBasicNode Class / OnLabelSpotChanged Method
the former LabelSpot value
In This Topic
    OnLabelSpotChanged Method
    In This Topic
    Determine how to change the whole node when the LabelSpot changes.
    Syntax
    public virtual void OnLabelSpotChanged( 
       int old
    )

    Parameters

    old
    the former LabelSpot value
    Remarks
    By default, setting the LabelSpot to GoObject.Middle will make the shape big enough to hold the text and the port the same size as the shape, and will make the node not Resizable. It also changes the port's Style to GoPortStyle.None, so that the port does not obscure the label. Changing the LabelSpot from GoObject.Middle to some other value will reset the shape and port sizes to their initial, default values.
    See Also