I'm trying to use the FindDiagramItemsInRect method to identify nodes that intersect connections to avoid a node from appearing on top (or overlaying) a connection while arranging the items in my custom layout. I've tried adjusting the rect that I pass to that function, but, it never returns any results.
Here's how I am calling it: diagram.FindDiagramItemsInRect(Of DiagramConnection)(New Windows.Rect(xpos,ypos,width,height)
Does it only return items that are fully enclosed by the rect? The documentation indicates that it includes intersections, but, that doesn't seem to be the case for me.
Any ideas?
It should be working as you would expect it to. Which version of the XamDiagram are you using? 14.1 or 14.2?
I have attached a sample using the 14.2 version and everything seems to be working.
Please include the exact version number of the Infragistics assemblies if you can.