GoDiagram Win Reference
OnLayerChanged Method (GoPort)

When a port is removed from a layer, we remove all of the links connected to the port.
Syntax
'Declaration
 
Protected Overrides Sub OnLayerChanged( _
   ByVal oldlayer As GoLayer, _
   ByVal newlayer As GoLayer, _
   ByVal mainObj As GoObject _
) 
protected override void OnLayerChanged( 
   GoLayer oldlayer,
   GoLayer newlayer,
   GoObject mainObj
)

Parameters

oldlayer
newlayer
mainObj
Remarks
This does not remove any links that are part of the mainObj. Nor does it remove any links that belong to a view, if this port is part of a document. And conversely, it does not remove any links that belong to a document if this port is part of a view. Finally, this calls ClearLinks only when ClearsLinksWhenRemoved 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

GoPort Class
GoPort Members
Base Implementation in OnLayerChanged

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback