GoDiagram Win Reference
CanLinkFrom Method (GoPort)

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
'Declaration
 
Public Overridable Function CanLinkFrom() As Boolean
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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoPort Class
GoPort Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback