Switching theme at runtime

7 posts, 0 answers
  1. Patrick
    Patrick avatar
    372 posts
    Member since:
    Aug 2012

    Posted 21 Oct 2012 Link to this post

    Hello,
    I followed the Switching Theme at Runtime and some other help pages and blog page to create a small application that let me change the style of the application (including the main window) at runtime.
    The application works great, switching the theme of all the controls, even MS controls.
    The only problem I see is with the MS label control that does not switch theme automatically. As there is no Telerik control to replace this one, automatic theme switching would be nice for this control.
    Patrick
  2. Yoan
    Admin
    Yoan avatar
    1066 posts

    Posted 22 Oct 2012 Link to this post

    Hello Patrick,

     As you can see from this article we do not have theme for MS Label control. However, there is Telerik's label control for which you are able to change its them at runtime. All you need is :

    <telerik:Label/>
    For your convenience I have attached sample project that illustrates the approach from this help article.

    Greetings,
    Yoan
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Patrick
    Patrick avatar
    372 posts
    Member since:
    Aug 2012

    Posted 22 Oct 2012 Link to this post

    Yoan,
    thank you for the information about the Label control.
    But this control is very difficult to find:
    1. Why is it called Label and not RadLabel?
    2. Why is it not listed in the list of Telerik controls, either on the help file or in the web site?

    It's the same as the GroupBox: if you don't know it exists, you can't find it!

    Patrick
  5. Yoan
    Admin
    Yoan avatar
    1066 posts

    Posted 23 Oct 2012 Link to this post

    Hello Patrick,

    Please accept my apologies for misleading you.

    After double check it turns out that there is no official label control for Silverlight that we support. The control that I suggested you to use is for internal use only. For this reason there is nothing about it in our documentation. I must point out again that we do not officially support it.

    Greetings,
    Yoan
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  6. Patrick
    Patrick avatar
    372 posts
    Member since:
    Aug 2012

    Posted 23 Oct 2012 Link to this post

    Yoan,
    so we will return to my first assertion: there is no Telerik theming for the MS Label control.
    Patrick
  7. Yoan
    Admin
    Yoan avatar
    1066 posts

    Posted 24 Oct 2012 Link to this post

    Hello Patrick,

     Yes, that is correct.

    All the best,
    Yoan
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  8. Patrick
    Patrick avatar
    372 posts
    Member since:
    Aug 2012

    Posted 07 Nov 2012 Link to this post

    So please provide one in a new release.
    Patrick
Back to Top
UI for WPF is Visual Studio 2017 Ready