Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How to clone a tree view item ?
Posted

1 solution

Here is some info on cloning wpf objects:
http://social.msdn.microsoft.com/Forums/en/wpf/thread/209597f0-0e8b-4fbb-a69d-a6479ed96187[^]

Aside from that - why clone treeitem node?

You do have a view-model? If you do, than I believe that's where you you should do the cloning - if any ... if it's the same data, but different composition - just reuse the objects by referencing them ..

Regards
Espen Harlinn
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 2-Mar-11 3:51am    
Good point, my 5.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900