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


Thread ID:





44899 Jun 6,2006 05:05 PM UTC Jul 11,2006 10:21 AM UTC WinForms 3
Tags: Diagram
Truman Lackey
Asked On June 6, 2006 05:05 PM UTC

In syncfusion 2 I was using the Controller.NodesHit collection in mouse_up event to detect ports being hit. In vers 4 I am not seeing ports being included in the NodesHit collection. Has this behavior changed as designed and if so what other way can I detect ports on a mous_up eveent? Truman

Administrator [Syncfusion]
Replied On July 4, 2006 02:06 PM UTC

Hi Truman, You can detect a symbol''s port collection by using Symbol.Ports property. Kindly look at the following code snippet private void diagram1_MouseUp(object sender, MouseEventArgs e) { if ( this.diagram1.Controller.NodesHit.Count != 0 && this.diagram1.Controller.NodesHit.First is Symbol) { Symbol sym = this.diagram1.Controller.SelectionList.First as Symbol; for(int i=0;i

Truman Lackey
Replied On July 6, 2006 12:34 AM UTC

In ver 2 of Syncfusion diagram the nodesHit collection was including ports that were hit in the collection. In this does not seem to be the case.

Administrator [Syncfusion]
Replied On July 11, 2006 10:21 AM UTC

Hi, Sorry for the inconvenience caused. Adding ports to NodesHit collection has been modified with the latest version. And if your intention is get access to the ports during the mouseUp event . P lease try with the code snippet provided in the previous update and do let us know if you run into any problem with this . We will be happy to assist you. However, I have logged a QA report on this issue . The report id is # 2369 . You can track the report details by referring the following link, http://www.syncfusion.com/support/issues/diagram/Default.aspx?ToDo=view&questId=2369 We will do our best to fix the issues and will get back to you once we fix the issue. Thank you for your support to Syncfusion products. Regards, Praveena.


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