Apply a custom theme to a DocumentTabStrip

2 posts, 0 answers
  1. Austin Winner
    Austin Winner avatar
    2 posts
    Member since:
    Jul 2009

    Posted 13 Aug 2009 Link to this post


    I am having trouble applying a theme to the DocumentTabStrip which is created when adding a Tabbed Document to a RadDock.  I have the Visual Style Builder to create a style for a RadTabStrip which functions perfectly but cannot be applied to the DocumentTabStrip.  I tried to create a style for the DocumentPresenterControl but when I load the default theme for it there are no states defined for the FillPrimitive for the DockableTab (even though the preview shows different states for Selected/MouseOver/etc.).  I am able to get my RadTabStrip theme to show in the design view of VS2008 by loading documentTabStrip from assembly in Visual Style Builder and modifying a setting so that I can save it to my .xml file and apply my custom theme to documentTabStrip1 in my project, but when I run the program the theme returns to the default theme.

    Where am I going wrong?  I have been trying for quite some time to apply a custom theme to the DocumentTabStrip and am at a loss on what to try next.  Also, when I did load the documentTabStrip into Visual Style Builder from the assembly, nothing appeared in either Design View/Preview but there were elements in the Control Structure.


  2. Boryana
    Boryana avatar
    330 posts

    Posted 18 Aug 2009 Link to this post

    Hi Austin Winner,

    Since RadDock is a relatively new control we did not manage to prepare articles how to apply custom theme to the control. We apologize for the inconvenience.

    In order to apply your custom RadTabStrip theme to the RadDock control you should modify a little bit you theme. However, sending you a step by step tutorial how to achieve this modification will not be convenient for you. For that reason we would like to ask you to send you us your theme. Thus we will be able to modify it and provide a sample project that applies it to RadDock control.

    Please, note that in order to attach a file you need to open a New Support Ticket (Your Account -> Your Support Tickets -> New Support Ticket.) Support Tickets also guarantee your privacy. We are looking forward to your reply.

    Sincerely yours,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top