GoDiagram Web Reference
IsValidToPort Method

This predicate is called to decide if it is OK for a user to start drawing a link backwards at a given port that will be the destination for the link.
Syntax
'Declaration
 
Public Overridable Function IsValidToPort( _
   ByVal toPort As IGoPort _
) As Boolean
public virtual bool IsValidToPort( 
   IGoPort toPort
)

Parameters

toPort

Return Value

By default this is true if ForwardsOnly is false IGoPort.CanLinkTo is true
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

GoToolLinking Class
GoToolLinking Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback