GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoLink Class / OnPortChanged Method
This IGoPort may be null for some events on the link.
This integer may include ChangedFromPort and ChangedToPort, stroke changes such as GoStroke.ChangedAllPoints and GoStroke.ChangedStyle, as well as some selected GoPort.Changed... subhints.
In This Topic
    OnPortChanged Method (GoLink)
    In This Topic
    Let links get notifications of changes to either port or to the link itself.
    Syntax

    Parameters

    port
    This IGoPort may be null for some events on the link.
    subhint
    This integer may include ChangedFromPort and ChangedToPort, stroke changes such as GoStroke.ChangedAllPoints and GoStroke.ChangedStyle, as well as some selected GoPort.Changed... subhints.
    oldI
    oldVal
    oldRect
    newI
    newVal
    newRect
    Remarks
    In general when this method is called, we call UpdateRoute. Most of the parameters are the same as for GoObject.Changed. This method does nothing when port is null.
    See Also