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
160
XamDiagram How to prevent drawing a connector when a drag begins at a connector.
posted

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