Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2035
XamDiagram - Display Template, connections, and GridDiagramLayout
posted

I have a XamDiagram where I use a custom DisplayTemplate and GridDiagramLayout.

If I use ShapeType = Rectangle for all the nodes, then a blue rectangle is displayed beneath my DisplayTemplate and the node height is calculated wrong.  See XamDiagram2.png.

If I use ShapeType = None for all the nodes, then the nodes are all displayed as I wish, but the connection from the last item in the first row to the first item in the second row is not displayed correctly.  See XamDiagram1.png.

How can I get the blue rectangle to not display and have the connection drawn from the end of the first row to the start of the second row?  I have also attached the xaml for this screen.

Regards,

Arthur

XamDiagram.zip
Parents Reply Children
No Data