The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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
ADAdministrator Syncfusion Team 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
TLTruman LackeyJuly 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 4.1.0.62 this does not seem to be the case.
ADAdministrator Syncfusion Team 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.