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

on Link Created Event

Thread ID:

Created:

Updated:

Platform:

Replies:

15543 Jun 22,2004 07:12 AM UTC Jun 22,2004 12:09 PM UTC Windows Forms 2
loading
Tags: Diagram
Jose Luis Melo
Asked On June 22, 2004 07:12 AM UTC

I need to create know when a link creation is succefull and... have access to the new link instance information so that I can process it. As there isn''t any specific event for this, I would like to know how can I do it. I think it should be of great interest to have the events: -onCreatedSymbol(eventargs with access to the new symbol) -onDeletedsymbol(eventargs with access to the new symbol) -onCreatedLink(eventargs with access to the new link) -onDeletedLink(eventargs with access to the new link) -onCreatedImage(eventargs with access to the new image) ...etc... Thanks

Jose Luis Melo
Replied On June 22, 2004 08:09 AM UTC

Ok... I discover that exists one event for the creation and deletion of link symbols. ConnectionsChangeComplete. >I need to create know when a link creation is succefull and... have access to the new link instance information so that I can process it. >As there isn''t any specific event for this, I would like to know how can I do it. >I think it should be of great interest to have the events: >-onCreatedSymbol(eventargs with access to the new symbol) >-onDeletedsymbol(eventargs with access to the new symbol) >-onCreatedLink(eventargs with access to the new link) >-onDeletedLink(eventargs with access to the new link) >-onCreatedImage(eventargs with access to the new image) ...etc... >Thanks

Administrator [Syncfusion]
Replied On June 22, 2004 12:09 PM UTC

Hi, The Diagram.Model.ChildrenChangeComplete event can be used for determining when a new node(Symbol, shape or link) has been added or removed from the diagram. The event''s Diagram.NodeCollection.EventArgs event argument provides information about the node and the ensuing operation such as addition or removal. Examining the event arg''s Node type will let you determine whether it is a Symbol, Shape or a Link that was added or removed. In the case of a Link however, this event is fired before the link connnections are made and you will not have access to it''s connecting symbols or whether the connection was successful. For this it is best that you retain your current handling of the Diagram.Model.ConnectionsChangeComplete event. I am sorry that you had to expend considerable time looking up this issue. We will go ahead and add these to our Diagram FAQ for easier refernece in the future, and also work on updating our documentation. Regards, Prakash Surendra Syncfusion, Inc

CONFIRMATION

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.

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

;