GoXam for WPF v3
IsValidTo Method
Northwoods.GoXam.Tool Namespace > LinkingBaseTool Class : IsValidTo Method
This predicate is true if it is permissible to connect a link to a given node/port.
Syntax
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.
See Also

Reference

LinkingBaseTool Class
LinkingBaseTool Members