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.

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

Thread ID:





109502 Jun 17,2013 11:21 AM Jun 28,2013 12:26 AM Windows Forms 1
Tags: Diagram
Asked On June 17, 2013 11:21 AM

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 12:26 AM

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.

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.