How is tabbing into and out of the TreeView supposed to work?

3 posts, 1 answers
  1. Steve
    Steve avatar
    124 posts
    Member since:
    Jun 2011

    Posted 16 Jan 2013 Link to this post

    I have a TreeView in my UserControl and when I tab into it from the previous control, the focusvisual shows on the TreeView as a whole, and I can't seem to get access to the TreeViewItems.  How can I make the first (or selected) TreeViewItem be the one that has the focus so I can navigate the Tree?

    Thanks in advance,
    Steve
  2. Answer
    Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1183 posts

    Posted 21 Jan 2013 Link to this post

    Hi Steve,

    Can you please elaborate on your scenario? How do you attempt to change the focus (pressing Tab key or pressing the combination Shift+Tab)? If you try to change the focus backwards (Shift+Tab) you will not be able to focus the controls that are defined before the RadTreeView control. This behavior is logged as a bug in our PITS and you can vote for it and follow it here. However, you have to able to change the focus between the controls forwards, by pressing the Tab key. Please take a look at the attached project and see how the controls are handling the focus.

    Regards,
    Pavel R. Pavlov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Steve
    Steve avatar
    124 posts
    Member since:
    Jun 2011

    Posted 23 Jan 2013 Link to this post

    I'm not sure what the problem was with my implementation; however I ended up not using the TreeView after all.  I appreciate you response and will keep the example in hand so that if the situation comes up again, I'll have your project for referrence.

    Thanks much,
    Steve
Back to Top