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

NodeClick event

Thread ID:





76617 Sep 16,2008 07:39 PM UTC Sep 17,2008 02:06 PM UTC WinForms 1
Tags: Diagram
Asked On September 16, 2008 07:39 PM UTC

I'm using the diagram component for winforms. I'm trying to capture events such as NodeClicked, NodeDoubleClicked etc...I see most of the help/sample references are for the Asp.Net component. Where can i find these messages in the WinForms.

J.Nagarajan [Syncfusion]
Replied On September 17, 2008 02:06 PM UTC

Hi Sash ,

Please use the below code snippet to fire NodeClick and NodeDoubleClick events in Diagram Windows Form.

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

void EventSink_NodeDoubleClick(NodeMouseEventArgs evtArgs)

void EventSink_NodeClick(NodeMouseEventArgs evtArgs)

Please let me know if this helps.



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

or the page will be automatically redirected to 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