GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoPort Class / OnLinkChanged Method
In This Topic
    OnLinkChanged Method (GoPort)
    In This Topic
    When a link connected to this port is changed, this method is called.
    Syntax
    public virtual void OnLinkChanged( 
       IGoLink l,
       int subhint,
       int oldI,
       object oldVal,
       RectangleF oldRect,
       int newI,
       object newVal,
       RectangleF newRect
    )

    Parameters

    l
    subhint
    oldI
    oldVal
    oldRect
    newI
    newVal
    newRect
    Remarks
    This lets port subclasses handle changes to any links on this port. subhint may include ChangedAddedLink and ChangedRemovedLink, as well as possibly some subhints such as ChangedFromPort and ChangedToPort. The default implementation of this method does nothing. If you override this, you will probably want to do nothing if the link parameter, l, is null.
    See Also