Northwoods.GoWPF 2.2.4 Assembly
IsLinked Method (IDiagramModel)

a node key identifying the node data from which the link comes
an optional value identifying which port on the "from" node the link is connected to
a node key identify the node data to which the link goes
an optional value identifying which port on the "to" node the link is connected to
This predicate is true if there is a link from one node data/port to another one.
Syntax
Function IsLinked( _
   ByVal fromdata As Object, _
   ByVal fromparam As Object, _
   ByVal todata As Object, _
   ByVal toparam As Object _
) As Boolean
bool IsLinked( 
   object fromdata,
   object fromparam,
   object todata,
   object toparam
)

Parameters

fromdata
a node key identifying the node data from which the link comes
fromparam
an optional value identifying which port on the "from" node the link is connected to
todata
a node key identify the node data to which the link goes
toparam
an optional value identifying which port on the "to" node the link is connected to

Return Value

true if there are any links
Remarks

This is used for model navigation and graph traversal.

Note that this method is universal, because it can only assume the node data is of type System.Object. The corresponding methods in the generic model classes operate on a specific node data type.

Requirements
See Also

Reference

IDiagramModel Interface
IDiagramModel Members

 

 


© Northwoods Software 2017. All Rights Reserved.

Send Feedback