GoDiagram Win Reference
OnLinkChanged Method (GoPort)

When a link connected to this port is changed, this method is called.
Syntax
'Declaration
 
Public Overridable Sub OnLinkChanged( _
   ByVal l As IGoLink, _
   ByVal subhint As Integer, _
   ByVal oldI As Integer, _
   ByVal oldVal As Object, _
   ByVal oldRect As RectangleF, _
   ByVal newI As Integer, _
   ByVal newVal As Object, _
   ByVal newRect As RectangleF _
) 
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.
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