If I understand your description correctly, you start dragging a connection from a connector and then you release the mouse and leave the other end of the connection floating. If this is indeed the case, then the ConnectionManipulationCompleted
event can't provide you with any particular e.Connector
object as there is no connector attached to the floating end of the connection.
As the ConnectionManipulationCompleted
is a tunneling (preview) event, it is fired just before the manipulation of a connection ends and the e.Shape
properties hold a reference of the shape/connector where the connection is going to be attached. In your particular situation, as the end of the connection is left floating - there are no shape or connector objects that can be associated with the e.Shape
Regarding the ManipulationStatus
, please note that we currently support only 4 statuses:
- Attaching - this is the status of a connection that is currently attaching to a shape. This is the status indicated by the ConnectionManipulationStarted event when a connection is created by dragging it out of a connector or in the ConnectionManipulationCompleted when a connection is being attached to a new connector
- Detaching - this is the status of a connection that is currently being detached from a shape
- Moving - this is the status of a connection that is currently being moved. Usually this is the state of a connection indicated by the ConnectionManipulationStarted while moving a floating connection
- Moved - this is the status of a connection that is already moved. Usually this is the state of a connection indicated by the ConnectionManipulationCompleted event when it is fired after releasing the mouse to create a floating connection, as in your case.
I hope this information helps but please let me know if I'm missing something from your scenario.