DragState.Completed state has stopped been created on IGraphInfo.ObjectDrawn event

Hi,

When I draw connectors in the SFDiagram the DragState.Complete state is no longer firing when a connection is drawn on the diagram.

This I use code to monitor the drawn connections is:

  (diagram.Info as IGraphInfo).ObjectDrawn += ClassDiagramDesigner_ObjectDrawn;

 private void ClassDiagramDesigner_ObjectDrawn(object sender, ObjectDrawnEventArgs args)
        {
            Debug.WriteLine("DragState: "+args.State);
            if (args.State == DragState.Completed)

When I upgraded to the latest version of  syncfusion dlls)16.2.0.50) via Nuget the  DragState.Complete has stopped been created.

I have attached a video of the issue.

In the video, you can see the following
You can see the connection been drawn.
The DragState been set to Dragging (in the output window)
At the end, the connection is created and drawn on the diagram.

But the DragState is NEVER set to Completed. 

For some reason with the latest DLLs, the DragState.Complete has stopped been sent.

Any ideas? 

Thanks




Attachment: DragDropSample_9ff2fd80.zip

1 Reply

RT Ramya Thirugnanam Syncfusion Team September 17, 2018 06:05 AM UTC

Hi Daniel, 
Reported issue: DragState argument of ObjectDrawn event is not updated properly once drawing is completed. 
We can reproduce the reported issue in 16.2.0.50v. The issue is addressed as part of our Volume 3 beta release. So, we suggest upgrading to our latest version will resolve the reported issue. 
Please find Essential Studio 2018 Volume 3 Beta Release v16.3.0.17 release link: 
 
Regards, 
Ramya T 


Loader.
Up arrow icon