Hi All,
i have encountered a problem when selecting a TreeViewItem. The Focused Item seems not to be the selected Item. I bound the TreeView to a list of entities and added hierarchical datatemplates for displaying them.
node2a
node2b
When i now open node2 and select node2a the focus is set to node2a, but the selected item will be node1a. This happens only if i opened the node1 before. I used the Microsoft TreeView instead and expected the same result but this one seems to work correct. Has somebody had a similar problem before ?
Greetings Markus
i have encountered a problem when selecting a TreeViewItem. The Focused Item seems not to be the selected Item. I bound the TreeView to a list of entities and added hierarchical datatemplates for displaying them.
- node1
node2a
- node2
node2b
When i now open node2 and select node2a the focus is set to node2a, but the selected item will be node1a. This happens only if i opened the node1 before. I used the Microsoft TreeView instead and expected the same result but this one seems to work correct. Has somebody had a similar problem before ?
Greetings Markus