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

Event of end drawing PolyLine

Thread ID:





108838 May 15,2013 07:37 AM UTC May 22,2013 11:33 AM UTC WinForms 3
Tags: Diagram
Asked On May 15, 2013 07:37 AM UTC

Could you tell me which event was handled at the end of polyline drawing in the diagram control using polylineTool ?
I have to do some action just after the line was drawn.
Kind regards,
Rabah Toulaït


Amsath Ali M [Syncfusion]
Replied On May 20, 2013 12:00 PM UTC

Hi Rtoulait,


Thanks for your interest in Syncfusion products.


We suggest you to use the Diagram.Model.EventSink’s ‘NodeCollectionChanged/Changing’ events to achieve your requirement. Please refer the below code snippet.


Here is the code:


diagram1.Model.EventSink.NodeCollectionChanged += new CollectionExEventHandler(EventSink_NodeCollectionChanged);           

void EventSink_NodeCollectionChanged(CollectionExEventArgs evtArgs)


            if (evtArgs.ChangeType == CollectionExChangeType.Insert)


                if (evtArgs.Element is PolyLineConnector)


                    //Peform your actions





Please try the below attached sample and let us know if you have any queries.



Amsath Ali. M


Replied On May 21, 2013 08:10 AM UTC

Hi Ali,

Thanks for your answer.
I used the same event and it works fine.

I have the same question for "TextTool" tool. I will open another post for that.

King regards,


Amsath Ali M [Syncfusion]
Replied On May 22, 2013 11:33 AM UTC

Hi Toulait,


Thanks for your update.


We have updated our response for your query “Event of end typing annotation text” in your forum 108919. Could you please refer that forum for better follow up?


Please let us know if you have any queries.



Amsath Ali. M


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