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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

custom grouping

Thread ID:

Created:

Updated:

Platform:

Replies:

78105 Nov 28,2008 11:53 AM UTC Dec 2,2008 12:40 PM UTC WinForms 4
loading
Tags: Diagram
MagicXtr
Asked On November 28, 2008 11:53 AM UTC

Hi,

I wanted to know whether it is possible to accomplish the following:
in case new connection is being added / removed to / from any node I need to handle this event and store / remove the connection ( represented by custom entity-class) to / from the database

Any considerations are appreciated

Thanks a lot,
Bork


MagicXtr
Replied On November 28, 2008 12:01 PM UTC

I am sorry, the subject is not actually what I mean - this is for another post. Unfortunatly, I don't know how to edit the subject



Administrator [Syncfusion]
Replied On December 1, 2008 03:09 PM UTC

Hi Bork,

Yes, its is possible for you to handle the event of connections being added or removed to and from a node, using the ConnectionChanging event handler in the Model.EventSink.

Similarly, the sample file is provided in the following location:

****
C:\Users\ajeetm\Documents\Syncfusion\EssentialStudio\6.4.0.15\Windows\Diagram.Windows\Samples\2.0\User Interaction\Expander
****

This sample shows how the nodes and connectors are read from the "Employees.XML" file.

Let me know if this helps.

Happy Coding!

- Ajeet


>Hi,

I wanted to know whether it is possible to accomplish the following:
in case new connection is being added / removed to / from any node I need to handle this event and store / remove the connection ( represented by custom entity-class) to / from the database

Any considerations are appreciated

Thanks a lot,
Bork




MagicXtr
Replied On December 2, 2008 08:40 AM UTC

Thanks a lot. This is exactly what I wanted. In addition, is there any possibility to handle this event by node (not by model)?


Administrator [Syncfusion]
Replied On December 2, 2008 12:40 PM UTC

Hi Bork,

I am afraid, but because Model contains all the elements, the event could be triggered only from Model and not Node.

Happy Coding!

- Ajeet



>Thanks a lot. This is exactly what I wanted. In addition, is there any possibility to handle this event by node (not by model)?




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

;