Create TextNode without immediate editing

Hi,

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: 
[C#] 
protected override void ActionComplete(Node nodeInserted) 
{ 
////Dont call to base class method it will activate the texteditor.... 
//base.ActionComplete(nodeInserted); 
} 
Sample: 
Regards, 
Naganathan K G 


Loader.
Up arrow icon