Change appearance of overflow panel?

4 posts, 1 answers
  1. Rachel
    Rachel avatar
    37 posts
    Member since:
    Mar 2008

    Posted 17 Oct 2008 Link to this post

    I am working with RadTabStrip, and I will be using the overflow button and panel to show additional tabs that will not fit in the window.  I am also applying a custom theme to the tabstrip itself.  Is it possible to also modify the appearance of the overflow panel to something other than the default white/black with orange hover effects?  I would like to make it visually match the rest of my application.

    Thank you,
    Rachel
  2. Nick
    Admin
    Nick avatar
    767 posts

    Posted 20 Oct 2008 Link to this post

    Hi Rachel,

    The overflow button is part of a theme for the tabstrip. When editing your theme in Visual Style Builder, navigate to the RadTabStripElement -->DockLayoutPanel --> TabLayoutPanel --> RadDropDownButtonElement and then set all the properties and states you need.

    You should also set ShowOverFlowButton property to true to make the button visible at runtime. Unfortunately, you will not see the changes you make to the theme until runtime.

    Don't hesitate to contact me if you need further assistance.
     

    Kind regards,
    Nick
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Rachel
    Rachel avatar
    37 posts
    Member since:
    Mar 2008

    Posted 20 Oct 2008 Link to this post

    Thanks Nick,
    Sorry if I wasn't too clear, but I was actually talking about the panel that opens up when the user clicks the overflow button, not the button itself.  Can I also change the appearance of that panel?
  5. Answer
    Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 23 Oct 2008 Link to this post

    Hi Rachel,

    Thank you for getting back to us.

    I suppose you are regarding the drop down menu part. If so, you should make a separate theme for the RadDropDownButton. Set its ThemeName to be the same as the ThemeName of the theme for RadTabStrip.
    Then, when you load these themes in your application and set the theme for the RadTabStrip, the theme for the menu part will be applied automatically.

    I am attaching a sample project to demonstrate this behavior. If you have additional questions, feel free to contact me.

    Greetings,
    Nikolay
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top