Move port, instead of linking from it

Hello,
I have a layout with custom ports (inherited from GoBoxPort) added directly to the view, without any container nodes.
Links should be created only ‘to’ such ports. When the user clicks (and keeps clicked) the mouse, while over such a port, instead of creating a link out of the port, the port should simply move in the layout.
I have been trying to override CanLinkFrom() and always return false, but the port still does not move.
Any sugestions would be greatly apreciated.
All the best
Paul

Make sure GoPort.Selectable is true and GoPort.IsValidFrom is false.
And set your GoView’s linking tool’s GoToolLinkingNew.ForwardsOnly property to true.

Thank you very much Walter, your post was of great help