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
Hi Arthur,
I think that the easiest way to fix this is to use first scenario and set the Fill and Stroke properties to Trasparent. Also you can set the Height property to Auto.
Thanks,
M.Yovchev
Thanks, that worked well!