Removes a port from its owner.

Namespace: yWorks.yFiles.UI.Model
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.4.0.0

Syntax

C#
void Remove( IPort port )
Visual Basic
Sub Remove ( _ port As IPort _ )

Parameters

port
Type: yWorks.yFiles.UI.Model..::..IPort
the port that will be removed

Remarks

The port must be part of this graph at the time of the invocation. This will also remove all edges that are currently connected to the port. This will trigger the NodeChanged or EdgeChanged event respectively.

See Also