This is a migrated thread and some comments may be shown as answers.

Tab Scrolling - One Tab at a time

1 Answer 118 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 1
Simon asked on 18 Aug 2010, 04:25 PM
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.

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 23 Aug 2010, 03:23 PM
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
Tags
TabControl
Asked by
Simon
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or