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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DropNode OffsetX Y

Thread ID:

Created:

Updated:

Platform:

Replies:

97300 Nov 16,2010 07:49 AM UTC Nov 19,2010 02:11 AM UTC WPF 2
loading
Tags: Diagram
jungjin Park.
Asked On November 16, 2010 07:49 AM UTC

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


Sundar M [Syncfusion]
Replied On 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: http://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



jungjin Park.
Replied On 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~.


CONFIRMATION

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.

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

;