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

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

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

1 Reply

AA Amsath Ali M Syncfusion Team 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


Live Chat Icon For mobile
Up arrow icon