Global dynamic theme application to all controls

Thread is closed for posting
6 posts, 0 answers
  1. Ron Barone
    Ron Barone avatar
    15 posts
    Member since:
    Aug 2009

    Posted 23 Feb 2010 Link to this post


    RadControls version
    Q3 2009 (Trial)

    .NET version

    Visual Studio version

    programming language

    browser support

    all browsers supported by RadControls


    While doing some pre-sales integration research we needed a simple way to integrate Telerik themes on all standard windows controls (TextBox, Button etc…).


    In this example I show how to set the theme by an application resource theme object.  All objects style setters that reference this object as a DynamicResource will automatically receive change notification. Using the dynamic resource AND explicitly setting the standard Windows and Telerik controls the theme change is immediately applied.


    1) Open the project in Visual Studio and run.

    2) To show how the functionality works across threads click the open new window button.

    3) Dropdown and select a new theme


  2. Boyan
    Boyan avatar
    758 posts

    Posted 24 Feb 2010 Link to this post

    Hello Ron Barone,

    We will include your project into our code library.

    Thank you very much for your effort. We have given you Telerik points for your involvement.

    Best wishes,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Ron Barone
    Ron Barone avatar
    15 posts
    Member since:
    Aug 2009

    Posted 24 Feb 2010 Link to this post


    Attached is an updated XML file that includes all control references...  It will make it easier on anyone who uses this to not have to go through it again :).

  4. David
    David avatar
    57 posts
    Member since:
    Apr 2011

    Posted 02 Aug 2011 Link to this post


    Just a quick word of caution concerning the updated XML that Ron posted on Feb 24, 2010 that includes references to all standard WPF controls (because I found out the hard way): Telerik do not currently support theming all standard WPF controls. This results in unexpected behavior when theming non-supported WPF controls, for example they may appear blank.

    The most recent list of WPF controls that Telerik supports I can find is here:

    Kind regards,
  5. Ammaar
    Ammaar avatar
    12 posts
    Member since:
    Dec 2010

    Posted 24 Jan 2013 Link to this post


    I'd like to do the opposite of what you have done here, i.e. I'd like to theme all Telerik controls to use the standard Windows theme. For the moment I'd just like to do this for ScrollBars as I would like the OS default theme to be used for all scrollbars across the application to have a consistent look and feel. Is there any way this can be done? I've already posted a separate question on this a few days ago, but had no replies yet (
  6. Tina Stancheva
    Tina Stancheva avatar
    3299 posts

    Posted 29 Jan 2013 Link to this post

    Hi Ammaar,

    We posted a reply in the forum thread you mentioned. Please let us know if we can further assist you.

    Kind regards,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.