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

Apply a custom theme to a DocumentTabStrip

1 Answer 99 Views
Themes and Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
Austin Winner
Top achievements
Rank 1
Austin Winner asked on 13 Aug 2009, 08:57 PM
Hello,

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.

Thanks!

1 Answer, 1 is accepted

Sort by
0
Boryana
Telerik team
answered on 18 Aug 2009, 11:22 AM
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,
Boryana
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.
Tags
Themes and Visual Style Builder
Asked by
Austin Winner
Top achievements
Rank 1
Answers by
Boryana
Telerik team
Share this question
or