We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DiagramView "NodeDrop" event doesn't include position of the dropped node?

Thread ID:





106651 Jan 20,2013 10:54 PM UTC Jan 22,2013 03:58 AM UTC Silverlight 2
Tags: Diagram
Daniel Harris
Asked On January 20, 2013 10:54 PM UTC

When handling the NodeDrop event the position of the node is set to 0,0

I was expecting it to tell me the position where it was dropped, is it supposed to?

Is there any way right after a user drops a node onto the diagram to know the position it has been placed at?

I looked in case there was a DropCompleted event of some sort but there isn't. Really need to be able to detect this right after dropping for a current project...

Daniel Harris
Replied On January 20, 2013 11:14 PM UTC

I also checked the OffsetX and OffsetY properties and they are also set to zero at the point this event is fired...Any suggestions to find it, or at what point this value is set?

Sudhakar C [Syncfusion]
Replied On January 22, 2013 03:58 AM UTC

Hi Daniel,


We can get the Position & OffsetX and Y values of the Node using the Node Loaded event. Please register the Loaded event to the Dropped Node in NodeDrop event of the Diagram View. We have created a simple sample for your reference. In that sample, the Message Box will show the Position & Offset X & Y values of the Node while drop the Node from SymbolPalette. For more information please refer the attached sample.


Please let us know if you require further assistance on this.



Sudhakar C




This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon