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

DropDown- and ScrollButton Styling

1 Answer 48 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 08 Jun 2010, 01:19 PM
Hello,

I have a TabControl with many items and I would like to activate the DropDownButton which shows a menu containing all TabItems.
As far as I can tell this feature should be supported as there is an IsDropDownOpen Property which shows me such a menu but I can't figure out how to get this menu during runtime.

In addition I'm looking for a way to change the appearance of the Left- and RightScrollButton (for the drop down button i've seen that there is a DropDownButtonStyle Property but I did not play around with it since I don't see this button at all yet).

I hope you can help me on these issues.
Thanks,
Peter



1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 14 Jun 2010, 02:24 PM
Hello Peter Payerl,

Please accept my apology for the delayed response.

In order to display the DropDownButton you will have to set the DropDownDisplayMode property of the RadTabControl.
You can set the property to:
Visible - to display it
Collapsed - to collapse it
WhenNeeded - to display it if there isn't enough space to display all the items.

Also, in order to change the appearance of the e Left- and RightScrollButtons you will need to edit the RadTabControl's template in Blend. Then you can modify the Left/Right ScrollButtonElements accordingly.

I prepared a sample project illustrating the described approach. Please take a look at it and let us know if you need more info.

Regards,
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
Peter
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or