Hi we are trying to prevent drawing connectors on the diagram and instead require our custom connector to be drawn. We are cancelling the ItemAdding event on the diagram and this is preventing the connector from appearing on the canvas, however a diagramConnection is still attached to the outgoingConnections of the Node on which the drawing occurred.
Q1. Is this intended behaviour? i would have expected the cancelling of the add to do both
I've noticed that if we set ConnectionPointsDisplayMode="Never" then you dont get the pointer, unless you have custom connection points defined on the shapes.
Q2. Is there a way of disabling the drawing or do we need to remove this ourselves manually?
Regards
Nick
by the way - we are using a service release of 16.1
Hello Nick,
I have been trying to reproduce the problem you described but not successful.
I have created a sample of XamDiagram along with XamDiagramToolbox, and canceled XamDiagram's ItemAdding event.Can you please run this project on your PC, and let me know if your problem is reproducible with this?
Thank you,Mihoko Kamiishi