Delete node ports

Hi,
How to delete all node's ports?

node.ports.clear() does not work

and

private void DeletePorts(Node node)
{
for (int i = 0; i < node.Ports.Count; i++)
{
node.Ports.RemoveAt(0);
}
}

does not work as well





3 Replies

PM Pandi Murugan A Syncfusion Team October 15, 2010 03:49 AM UTC

Hi Witold,

Thank you for your interest in Syncfusion Products.

I am afraid that i am unable to reproduce the reported issue. I have created a simple sample for how to remove node's ports.Could you please try the below sample and let me know your concerns.

Sample643731123.zip

Regards,
Pandi Murugan A



WS Witold Slirz October 23, 2010 10:58 AM UTC

Thanks, it seems my component was broken after I installed a patch which u sent to me.
After cleaning up and reinstall everything works



PM Pandi Murugan A Syncfusion Team October 25, 2010 10:57 AM UTC

Hi Witold,

Thank you for your update.

Since you have created a separate Direct Track incident for this issue,please have a follow up with that incident for further concerns about the reported issue.

Please let me know your concerns.

Regards,
Pandi Murugan A




Loader.
Up arrow icon