You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a tree view which has two kind of nodes, virtual one or non-virtual one. When user select a virtual one, I want to redirect the selection to the non-virtual one related. So I need to observe the IsSelected proeprty change. However, if I do the observeration using the follow code, it will not work because the _items field is of a tree structure, it will only fire when the root node is selected.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a tree view which has two kind of nodes, virtual one or non-virtual one. When user select a virtual one, I want to redirect the selection to the non-virtual one related. So I need to observe the IsSelected proeprty change. However, if I do the observeration using the follow code, it will not work because the _items field is of a tree structure, it will only fire when the root node is selected.
So how to? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions