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

Reference

LinkingBaseTool Class
LinkingBaseTool Members