Key Navigation Not Working With SL3 Treeview

Posted by Chris on Stack Overflow See other posts from Stack Overflow or by Chris
Published on 2010-04-08T18:38:05Z Indexed on 2010/04/08 18:43 UTC
Read the original article Hit count: 417

Filed under:

I have a treeview in SL3 that is bound to a hierarchical list.

Something has changed with regards to being able to navigate through the list using the up and down arrow keys.

At one point, during the development of this application, I could start at the root process in the tree view, press the Enter key, and the root process would expand, showing all children processes. Some of the child processes are parent nodes for other processes. So, that functionality would work fine. Then, if I would navigate to a child node that is a parent, and press Enter, that node would expand. From that point, if I would navigate to a child node of the parent node, and then press the Up arrow key, it should select whatever item is directly above it, in this case, the corresponding parent node, but won't. It's like you can't navigate, using the UP Arrow key, to a child's parent, if you have selected the child. You can navigate down, just not UP, if the next item above it is a folder/parent node.

I have no clue as to how this happened, as this functionality used to work fine, and now it doesn't.

Any help would be appreciated.

Thanks!

Chris

© Stack Overflow or respective owner

Related posts about Silverlight