Tree view is not allowing child to be selected in WPF RRS feed

  • Question

  • Hi Team,

    I am working on an excel addin where I need to add tree view inside a wpf form. I am creating the form dynamically from the code and attaching click event to each child node for each tree view. 

    In some scenarios I had to create tree view inside a tree view and attaching the click event for each child nodes. Now the problem I am facing is when I am clicking any of the child nodes click_event is getting triggered but for the second time those events are not getting fired. Every time I need to collapse and expand the tree view from the UI to make it work.

    Probably this is happening because those tree views are not getting refreshed. Would you be able to suggest on this. Please let me know if you have any queries.



    • Edited by ArnavRay Tuesday, March 5, 2019 6:43 AM
    Tuesday, March 5, 2019 6:42 AM