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

Changing a text node content by doubleclicking on it

Thread ID:





74302 Jun 6,2008 08:52 AM UTC Feb 17,2011 07:23 AM UTC WinForms 3
Tags: Diagram
Yener Alemdaroglu
Asked On June 6, 2008 08:52 AM UTC


I want to know if an event occurs after editing a text node by double clicking.
Because I want to validate it.


J.Nagarajan [Syncfusion]
Replied On June 10, 2008 07:21 AM UTC

Hi Yener,

Currently there is no built in support to fire an event after edit the TextNode. You can write your own delegate and call that function pointer after the EndEdit. Please refer to the following code snippet.

public delegate void NodeEndEdit(object sender, EventArgs e);
public event NodeEndEdit nodeEndEdit;

this.nodeEndEdit += new NodeEndEdit(MainForm_nodeEndEdit);
void MainForm_nodeEndEdit(object sender, EventArgs e)
Console.WriteLine("NodeEndEdit Event fired");

private void menuItem8_Click(object sender, EventArgs e)

if (m_editor.IsEditing)
this.nodeEndEdit(this, new EventArgs());

Please refer to the attached sample that demonstrates this completely.


In this sample when you double click on the text node you can edit it. Whne you click on Update->EndUpdate menuitem, an event will be triggered for the validation and it ends up the editing.

Please let me know if this helps.


Blanca Calderon
Replied On February 8, 2011 09:47 AM UTC


I'm interested in this example but it doesn't work anymore. Could you post it again?

Thanks in advanced,


Bala Murugan A.S [Syncfusion]
Replied On February 17, 2011 07:23 AM UTC

Hi Blanca,

Thanks for the update.

Please find the attached sample from the below link.

Kindly try the above sample and let me know your concerns.

Bala Murugan A.S


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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