CanView
, and .Layer.CanLinkObjects
(if it belongs to a layer). Furthermore, if IsValidSingleLink is true, the value of LinksCount must be zero. To control the validity of link creation considering two ports, override IsValidLink or set one of the properties that that method depends on.