G
Guest
I have TreeNodes in a TreeView, each contains unique data in its Tag section.
I am trying to 'clone' a TreeNode and then modify the tag data of the cloned
TreeNode. What I am seeing is that by modifying the Tag data of the cloned
TreeNode the original TreeNode's Tag data is also being modified with the
identical change.
Does the clone method not create a completely new data reference of the
original TreeNode? If not, how can I get a separate copy of the Tag data?
I am trying to 'clone' a TreeNode and then modify the tag data of the cloned
TreeNode. What I am seeing is that by modifying the Tag data of the cloned
TreeNode the original TreeNode's Tag data is also being modified with the
identical change.
Does the clone method not create a completely new data reference of the
original TreeNode? If not, how can I get a separate copy of the Tag data?