Tab Scrolling - One Tab at a time

2 posts, 0 answers
  1. Simon
    Simon avatar
    4 posts
    Member since:
    Nov 2009

    Posted 18 Aug 2010 Link to this post

    Hi 
    I've modified the TabControl but would like to force the scrollviewer repeat buttons to scroll one full tab at a time but cannot find a way to do this.

    I thought I might be able to add something like Command="ScrollBar.LineDownCommand" to the repeat button - no joy though!

    Any help would be much appreciated.

  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 23 Aug 2010 Link to this post

    Hello Simon,

    If I understood you scenario correctly you can use the ScrollMode property of teh RadTabControl.
    This property has 3 values:
    • Item - the scrollviewer repeat buttons will scroll one full tab at a time
    • Pixel - the scrollviewer repeat buttons will scroll around 16pixels at a time
    • Viewport - the scrollviewer repeat buttons will scroll the length of the visible items(viewport)
    In your case you can try setting the ScrollMode to Item. Give it a try and let me know if this is what you had in mind.

    Best wishes,
    Tina Stancheva
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top