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

How to make custom controls Theme-aware

1 Answer 88 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Simon Störmer
Top achievements
Rank 1
Simon Störmer asked on 12 Jan 2010, 07:54 AM
Hi all,

I have written a custom control that encapsulates the RadTabControl, say it is named MyTabPanel. I want to bind a strongly typed list of a certain type to it and want to display a tab for each item. So far, no problems. But if I change the Theme to Office blue (for example), MyTabPanel remains to appear in Office black. What can I do to make my control Theme aware?

Greetings

Tobias.

1 Answer, 1 is accepted

Sort by
0
Miroslav
Telerik team
answered on 15 Jan 2010, 10:12 AM
Hello Tobias Richling,

I tried inheriting the TabControl and the Office_Blue theme seems to work both as an application theme and a locally set theme.

Can you have a look at the attached project? Is there something that I am missing?

Sincerely yours,
Miroslav
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Simon Störmer
Top achievements
Rank 1
Answers by
Miroslav
Telerik team
Share this question
or