This question is locked. New answers and comments are not allowed.
Hi,
I need to get the ParentItem of a RadTreeViewItem. I'm doing like this:
| RadTreeViewItem node = new RadTreeViewItem {Header = "Parent Node"}; |
| radTreeView.Items.Add(node); |
| RadTreeViewItem childNode = new RadTreeViewItem {Header = "Child Node"}; |
| node.Items.Add(node); |
However, if I try childNode.ParentItem I get a null value, and If try childNode.RootItem, I always get the node it self.
How can I get these both properties correctly??
Thanks,
Weverton
