Northwoods.GoSilverlight 1.3.5 Assembly
IsLinkValid Method
See Also  Send Feedback
Northwoods.GoXam.Model Namespace > IDiagramModel Interface : IsLinkValid Method

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
This predicate is true if adding a link between two nodes/ports would result in a valid graph.

Syntax

Visual Basic (Declaration) 
Function IsLinkValid( _
   ByVal fromdata As Object, _
   ByVal fromparam As Object, _
   ByVal todata As Object, _
   ByVal toparam As Object _
) As Boolean
C# 
bool IsLinkValid( 
   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

Requirements

See Also

© 2012 All Rights Reserved.