Cycling in TabItems

3 posts, 1 answers
  1. Abdeali
    Abdeali avatar
    5 posts
    Member since:
    Apr 2015

    Posted 30 Apr 2015 Link to this post

    Hello,

    I have a telerik tabcontrol which has 5 TabItems. When I press RightArrow key i can navigate to one tab to other.

    This way i reach to the last tab. Now if again i press RightArrow key i need to move back to first tab from where I started.(Cyclic behavior).

    This is not happening currently.

    Is there some property of telerik tabcontrol which can be use for doing so or we need to find some workaround?

    Thanks & Regards,

    Abdi

  2. Answer
    Kiril Vandov
    Admin
    Kiril Vandov avatar
    324 posts

    Posted 01 May 2015 Link to this post

    Hello Abdi,

    The keyboard navigation of the RadTabControl is not designed to be cycle out of the box and that is why there is no property you could set to make ti work. However you could use the PreviewKeyDownEvent of the RadTabControl and execute the custom logic there.

    I have attached a sample project demonstrating the approach. Please take a loot at it and let us know if ti works for you.

    I hope this information helps,

    Kind regards,
    Kiril Vandov
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Abdeali
    Abdeali avatar
    5 posts
    Member since:
    Apr 2015

    Posted 07 May 2015 in reply to Kiril Vandov Link to this post

    Thanks. That does worked for me.

    Abdi

Back to Top