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. Image for the cookie policy date

Create TextNode without immediate editing


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.

1 Reply

NG Naganathan Ganesh Babu Syncfusion Team 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 

Live Chat Icon For mobile
Up arrow icon