protected virtual FrameworkElement FindLinkablePort()
Return Value
If the Direction is LinkingDirection.Either or LinkingDirection.ForwardsOnly, this checks the element and its parent Northwoods.GoXam.Node by calling IsValidFrom. If the Direction is LinkingDirection.Either or LinkingDirection.BackwardsOnly, this checks the element and its parent Northwoods.GoXam.Node by calling IsValidTo. In either case finding a matching port will return that port and set LinkingBaseTool.Forwards in the appropriate direction. Otherwise this will return null.