[DefaultValue(0)] public int ChildPortSpot {get; set;}
[DefaultValue(0)] public int ChildPortSpot {get; set;}
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 GoLayoutTreeNode.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.
This just gets or sets the RootDefaults's property of the same name.