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

how create a control (event handler) to my custom symbol

Thread ID:





109502 Jun 17,2013 03:21 PM UTC Jun 28,2013 04:26 AM UTC WinForms 1
Tags: Diagram
Asked On June 17, 2013 03:21 PM UTC

I am beginners on Windows form Syncfusion (Essential diagram), i want to create a control for every node in group (ex: some rectangles in rectangle), when i click on node, a special event is fired. for example display the type of my custom symbol.
How i can do that programmatically?
Thank you

Amsath Ali M [Syncfusion]
Replied On June 28, 2013 04:26 AM UTC

Hi Samir,


Thanks for using Syncfusion products.


We suggest you to use the diagram.Eventsink’s ‘NodeClick’ event to achieve your requirement. Please refer the below code snippet.


Here is the code:


diagram1.EventSink.NodeClick += new NodeMouseEventHandler(EventSink_NodeClick);


void EventSink_NodeClick(NodeMouseEventArgs evtArgs)





Please try the below attached sample and 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