How to make custom controls Theme-aware

2 posts, 0 answers
  1. Simon Störmer
    Simon Störmer avatar
    33 posts
    Member since:
    Oct 2012

    Posted 12 Jan 2010 Link to this post

    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?


  2. Miroslav
    Miroslav avatar
    922 posts

    Posted 15 Jan 2010 Link to this post

    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,
    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.
Back to Top