GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoBasicNode Class / Port Property
In This Topic
    Port Property (GoBasicNode)
    In This Topic
    Gets or sets the GoPort for this node.
    Syntax
    [TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
    public virtual GoPort Port {get; set;}

    Property Value

    The new value may be null, to simply remove the port. If non-null, the port should have the Selectable property set to false.
    Remarks
    Setting this property to a new port will also set that port's PortObject to be this node's Shape, if it didn't already have a PortObject. Instead of setting the port after creating a node, you may find it easier to override the CreatePort method.
    See Also