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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Before delete event... so that we can abort deletion

Thread ID:





15569 Jun 22,2004 02:25 PM UTC Jul 7,2004 08:59 PM UTC WinForms 3
Tags: Diagram
Jose Luis Melo
Asked On June 22, 2004 02:25 PM UTC

How can I have an onCut or OnDelete event of a symbol, so that if certain situations don''t met I can abort the symbol deletion. Example: I have a diagram with 3 symbols linked sequentially A -> B -> C ...I want that if someone tries to delete B, I abort the deletion and inform that it must delete firs the links related to B, wich in this case are 2: A->B and B->C.

Administrator [Syncfusion]
Replied On June 24, 2004 06:39 PM UTC

Hi, The current version of Essential Diagram does not provide a means to detect and pre-empt a delete/cut command. I have logged this as a feature request and we will do our best to support such functionality in a future version of the product. For the time being, you can check your diagram''s Controller.SelectionList property to determine the selection and invoke the cut/remove command depending on the nodes that are currently selected. Regards, Prakash Surendra Syncfusion, Inc

Replied On July 6, 2004 01:15 AM UTC

Will there be node delete and node add events in the soon to be release version of essential suite.

Administrator [Syncfusion]
Replied On July 7, 2004 08:59 PM UTC

Hi Richard, The Diagram.Model.ChildrenChangeComplete event can be used to determine whether a node has been added to the diagram. As for node deletion, we have this filed as a feature request and we will do our best to add the feature for the next public update of Essential Diagram. For the time being, please workaround this limitation by using the Controller.SelectionList as described earlier to allow/pre-empt the delete operation. Regards, Prakash


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

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon