Treeview Getting parentNode xaml wpf

Posted by devnet247 on Stack Overflow See other posts from Stack Overflow or by devnet247
Published on 2010-03-17T05:10:13Z Indexed on 2010/03/17 5:11 UTC
Read the original article Hit count: 312

Filed under:

Hi all, I have a treeview in wpf and I load it ok is all done in zaml . I have a problem and this is mainly because I am new to zaml.

If i have this structure

    England
      London
      Manchester
      Liverpool
      etc... 

and I select london i need to display "England-London" . I dont seem to get how to retrieve the parent of the selected child.

Can you help?

Thanks

© Stack Overflow or respective owner

Related posts about wpf