GoDigram for .NET Framework and .NET Core
Northwoods.Go.Layout Namespace / GoLayoutTreeNode Class / ChildPortSpot Property
In This Topic
    ChildPortSpot Property (GoLayoutTreeNode)
    In This Topic
    Gets or sets the spot that children nodes' Northwoods.Go.GoPorts get as their Northwoods.Go.GoPort.ToSpot, if SetsChildPortSpot is true and the node has only a single port.
    Syntax
    public int ChildPortSpot {get; set;}

    Property Value

    The default value is GoObject.NoSpot.
    Remarks
    This inherited property is initialized in the InitializeTreeNodeValues method. A value of GoObject.NoSpot will cause SetPortSpots to assign a Northwoods.Go.GoPort.ToSpot based on the parent node's Angle. If the value is other than NoSpot, it is just assigned. When Path is GoLayoutTreePath.Source, the Northwoods.Go.GoPort's Northwoods.Go.GoPort.FromSpot is set instead of the Northwoods.Go.GoPort.ToSpot.
    See Also