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

node move event

Thread ID:

Created:

Updated:

Platform:

Replies:

79477 Feb 11,2009 04:03 AM Mar 5,2018 05:58 AM Windows Forms 4
loading
Tags: Diagram
Administrator [Syncfusion]
Asked On February 11, 2009 04:03 AM

Which event is fired when we move a node in the diagram?
I tried to use PinPointChanging and PinPointChanged but they did not work.

((DocumentEventSink)model1.EventSink).PinPointChanged += new PinPointChangedEventHandler(MainForm_PinPointChanged);

void MainForm_PinPointChanged(PinPointChangedEventArgs evtArgs)
{
MessageBox.Show("PinpointChanging event is fired" + "\n" + "Node name: " + evtArgs.NodeAffected.Name.ToString());
}

what could be the problem and is there any other way to detect if any node is moved?


Administrator [Syncfusion]
Replied On February 11, 2009 08:47 AM

I found the reason. if the editstyle of the diagram is disabled, pinpointchanging will not be fired. rotation change, size change etc. all events work but pinpointchanging and pinpointchanged don't.


Ajeet M [Syncfusion]
Replied On February 12, 2009 12:48 AM

Hi lyle,

The pinpointChanged and PinPointChanging event fires whenever a node is moved.

The attached file demonstrates the same.

Let me know if you shall need any further clarifications in this regard.

Happy Coding!
-Ajeet




Diagram_WF_NodeEvents_bbfdf5e8.zip

Alexandre Maia
Replied On March 2, 2018 02:18 AM

Which event is fired when we move a node in the diagram?
I tried to use PinPointChanging and PinPointChanged but they did not work.

((DocumentEventSink)model1.EventSink).PinPointChanged += new PinPointChangedEventHandler(MainForm_PinPointChanged);

void MainForm_PinPointChanged(PinPointChangedEventArgs evtArgs)
{
MessageBox.Show("PinpointChanging event is fired" + "\n" + "Node name: " + evtArgs.NodeAffected.Name.ToString());
}

what could be the problem and is there any other way to detect if any node is moved?


I work alone and would like to know if it is necessary to install any specific components on the client?

Naganathan Ganesh Babu [Syncfusion]
Replied On March 5, 2018 05:58 AM

Hi Alexandre, 
 
Are you trying to use Essential studio components? Please refer following details. 
If you are asking something else, please elaborate. 
 
Download link: 
 
Here is the link for installation details of Syncfusion Essential Studio: 
 
Here is the link for references details of Diagram components in windows form control: 
 
Regards, 
 
Naganathan K G 


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

;