Hi Shimon ,
If your intention is to auto resize the TextNode to display the complete text, then you have to create your own TextEditor and set the AutoResize attribute of BeginEdit method to true. Please refer to the following code snippet.
TextEditor m_editor;
m_editor = new TextEditor(this.diagram1.Controller);
//In BeginEdit
m_editor.BeginEdit(txtnode, true);
//In EndEdit
m_editor.EndEdit(true);
Please refer to the attached sample and the video clip for more details.
Sample:
http://websamples.syncfusion.com/samples/Diagram.Windows/F74733/main.htmVideo:
http://www.syncfusion.com/Product/uploads/Video_50201eb3.zipIn this sample when you click Edit->BeginEdit menuitem, the textnode will be in edit mode. After edit the text you can click on Edit->EndEdit menuitem to show the edited text.
Please let me know if this helps.
Regards,
Nagaraj