Did you enable the behavior by setting DraggingTool.DropOntoEnabled to true?
You can see examples of this in the demo.
Ahh, just figured it out. Thanks!
Hmmm, I’m not familiar enough with VB to know how to specify functional parameters that are static generic methods.
In C# the second argument to FindElementAt is the expression “Part.FindAncestor”.
This expression returns a method that takes a Visual as its single argument and returns a Link.
Apparently in VB “Part.FindAncestor(Of Link)” looks like a regular function call that is missing its argument list. Maybe you can prefix that with “AddressOf”? I’m just guessing.
If Not elt Is Nothing Then
Dim link As Link = Part.FindAncestor(Of Link)(elt)