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

fromnode
fromport
This predicate is true if it is permissible to connect a link from a given node/port.

Syntax

Visual Basic (Declaration) 
Public Overridable Function IsValidFrom( _
   ByVal fromnode As Node, _
   ByVal fromport As FrameworkElement _
) As Boolean
C# 
public virtual bool IsValidFrom( 
   Node fromnode,
   FrameworkElement fromport
)

Parameters

fromnode
fromport

Return Value

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

Requirements

See Also

© 2012 All Rights Reserved.