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

How to setting property of Symbol about delete?

Dear Ms. or Mr.
Hello!
How to setting property of Symbol about delete.
We want get a result that symbols can move position and but they can't delete!

1 Reply

MW Melba Winshia Syncfusion Team July 13, 2007 12:30 PM UTC

Hi,

Thank you for your interest in Essential Diagram.

If your intention is to move the symbols but avoid deleting it then it can be achieved by setting the EditStyle.AllowDelete property to false.

[C#]

//Avoids deletion of a node
Node.EditStyle.AllowDelete=false;

Please refer the sample in the below link which illustrates the above.

http://websamples.syncfusion.com/samples/Diagram.Windows/63089/main.htm

If I have misunderstood your requirement, could you please explain me in detail, so that I can work in depth and try to send a better solution?

Regards,
Melba

Loader.
Live Chat Icon For mobile
Up arrow icon