DropDown- and ScrollButton Styling

2 posts, 0 answers
  1. Peter
    Peter avatar
    5 posts
    Member since:
    May 2010

    Posted 08 Jun 2010 Link to this post

    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



  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 14 Jun 2010 Link to this post

    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.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top