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. Image for the cookie policy date

DropNode OffsetX Y

Hello,

I have a question.
NodeDrop Event occurred.
This time, DropNode OffsetX&OffsetY value is 0.
I want DropNode postion information.
Do you have solution method?

Thanks


2 Replies

SM Sundar M Syncfusion Team November 18, 2010 06:19 AM UTC

Hi jungjin,

Regarding current position in NodeDrop Event, NodeDrop event will be fired before offset values are set to the Node, so the dropped node OffsetX and OffsetY value will be 0. However, Current position of the node dropped can be determined using DiagramPage’s Drop event, please refer the sample from the following link.

Sample Link: https://s3.amazonaws.com/files2.syncfusion.com/Support/Diagram%20WPF%20&%20SL/Sample/F97300/NodeDropPosition.zip

In this sample, when a Node is dropped from SymbolPalette, a MessageBox will show the current position of Node dropped.

Please let us know if you have any queries.


Regards,
Sundar M




JP jungjin Park. November 19, 2010 02:11 AM UTC

Hello,

I'm poor english.
So could not an explanation well.
By the way ..Your reply is grateful.
My problem solved.

Thank you~.


Loader.
Live Chat Icon For mobile
Up arrow icon