I’m using the default LinkingTool in WPF. I’ve set Node.LinkableFrom and Node.LinkableTo on an element deep within my node template. When the linking tool runs, it surrounds that element with a purplish box to indicate the link end points. I’d like the draw the purple box around a different (higher) element in the node template. How can I do this? I looked for an attached property similar to Part.SelectionElementName, but didn’t find anything.
The only Node attached properties I’m using in my template are Location, LocationElementName, LocationSpot, LinkableFrom, and LinkableTo.
Sorry, I’m not being clear: I’m happy with the appearance of the TemporaryNodeTemplate, but I’d like to change which element of my node template it surrounds/adorns. How would I indicate that different element? Specifically, I want the temporary node to surround the element indicated by the Part.SelectionElementName attached property.