GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoPort Class / CanLinkFrom Method
In This Topic
    CanLinkFrom Method (GoPort)
    In This Topic
    This predicate should be true if, by itself, there is no known reason why one couldn't create a valid link from this port to some port.
    Syntax
    public virtual bool CanLinkFrom()
    Remarks
    To be true, this port must pass IsValidFrom, GoObject.CanView, and .Layer.CanLinkObjects (if it belongs to a layer). Furthermore, if IsValidSingleLink is true, the value of LinksCount must be zero. To control the validity of link creation considering two ports, override IsValidLink or set one of the properties that that method depends on.
    See Also