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.
Unfortunately, activation email could not send to your email. Please try again.

DropNode OffsetX Y

Thread ID:

Created:

Updated:

Platform:

Replies:

97300 Nov 16,2010 02:49 AM Nov 18,2010 09:11 PM WPF 2
loading
Tags: Diagram
jungjin Park.
Asked On November 16, 2010 02:49 AM

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 01:19 AM

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 18, 2010 09:11 PM

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.

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.

;