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

Layer does not implement ICloneable

Thread ID:





28961 May 12,2005 09:41 PM UTC May 18,2005 06:58 PM UTC WinForms 1
Tags: Diagram
Administrator [Syncfusion]
Asked On May 12, 2005 09:41 PM UTC

I was attempting to clone a Diagram.Model and then add some nodes to the new copy and rendering them to a file. What I discovered was that adding nodes to the model copy was causing them to be displayed in my original when it was refreshed. The reason for this is because the layer collection was not properly cloned resulting in the original model having the same default layer as the model copy. I discovered this by stepping into and through the model''s Clone() and then the layercollection''s clone(). When it gets down to CollectionEx and the layers are attempted to be cloned, the object to be cloned (a layer) cannot be cast to ICloneable. As a result, the layer object is added to the new collection instead of cloned then added. Regards, Kevin

Administrator [Syncfusion]
Replied On May 18, 2005 06:58 PM UTC

Kevin, Thank you for notifying us of this problem. I have logged a QA report and we will fix the problem for a future update of the product. While we cannot guarantee a turnaround time on QA reports, I assure you that we will do our best to address the issue in a timely manner. Regards, Prakash Syncfusion Inc.,


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