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

Create TextNode without immediate editing

Thread ID:





129355 Mar 14,2017 12:13 PM UTC Mar 15,2017 07:26 AM UTC WinForms 1
Tags: Diagram
Michael Redetzky
Asked On March 14, 2017 12:13 PM UTC


Is there a way to create a TextNode, without showing immediately the editor of the TextNode?
I want to draw first my outline of the TextNode and afterwards, I want to edit the content of the TextNode by double-clicking on it.

Is there a property I can set to enable/disable editing?

Thanks for your help.

Naganathan Ganesh Babu [Syncfusion]
Replied On March 15, 2017 07:26 AM UTC

Hi Stefan,  
Thanks for contacting Syncfusion support. 
In order to achieve your requirement, we suggest you to customize the Diagram’s TextTool and override the ActionComplete() method without calling the base method. Please refer to the below code example and sample. 
Code example: 
protected override void ActionComplete(Node nodeInserted) 
////Dont call to base class method it will activate the texteditor.... 
Naganathan K G 


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