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.
Syncfusion Feedback

Catch an event of node Drag and Drop

Thread ID:

Created:

Updated:

Platform:

Replies:

74017 May 28,2008 01:33 PM UTC Mar 8,2010 02:01 PM UTC Windows Forms 4
loading
Tags: Diagram
Administrator [Syncfusion]
Asked On May 28, 2008 01:33 PM UTC

Hi,
I need to check certain things where user drag and drop a node (inside the diagram.Not from the pallet to the diagram).
How can i catch this event?

Thanks.


J.Nagarajan [Syncfusion]
Replied On May 29, 2008 10:03 AM UTC

Hi sHIMON ,

Thanks for your interest in Syncfusion products.

The PinPointChanged event gets fired when you drag and drop a node within the diagram. You can handle this event by using the following code snippet.

this.diagram1.Model.EventSink.PinPointChanged += new PinPointChangedEventHandler(EventSink_PinPointChanged);

void EventSink_PinPointChanged(PinPointChangedEventArgs evtArgs)
{
Console.WriteLine(evtArgs.NodeAffected.Name);
}

Please let me know if this helps.

Regards,
Nagaraj


Administrator [Syncfusion]
Replied On June 2, 2008 01:53 PM UTC

Thanks a lot.


Witold Slirz
Replied On March 8, 2010 12:32 PM UTC

And an opposite question.
How to catch the event of dragging a node from palette onto a diagram?

Witold Slirz
Replied On March 8, 2010 02:01 PM UTC


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

;