Northwoods.GoSilverlight 1.3.5 Assembly
IsValidTo Method
See Also  Send Feedback
Northwoods.GoXam.Tool Namespace > LinkingBaseTool Class : IsValidTo Method

tonode
toport
This predicate is true if it is permissible to connect a link to a given node/port.

Syntax

Visual Basic (Declaration) 
Public Overridable Function IsValidTo( _
   ByVal tonode As Node, _
   ByVal toport As FrameworkElement _
) As Boolean
C# 
public virtual bool IsValidTo( 
   Node tonode,
   FrameworkElement toport
)

Parameters

tonode
toport

Return Value

False if the tonode is in a Northwoods.GoXam.Layer that does not Northwoods.GoXam.Layer.AllowLink. False if Northwoods.GoXam.Node.GetLinkableTo for the toport is either false or null. False if the number of links connected to the toport would exceed the Northwoods.GoXam.Node.GetLinkableMaximum value. Otherwise true.

Requirements

See Also

© 2012 All Rights Reserved.