Themes not applying to windows controls

3 posts, 0 answers
  1. Steven
    Steven avatar
    7 posts
    Member since:
    Jul 2012

    Posted 15 Mar 2011 Link to this post

    Hi guys,

    I have the latest production version. I'm applying styles with (for example):

    Telerik.Windows.Controls.StyleManager.ApplicationTheme = new Telerik.Windows.Controls.Office_SilverTheme();

    However this seems to only change my RadGridView. Everything else is default.

    If I go into my Telerik installation folder, there's the handy sample project with all the xaml for the themes. I notice that these include styling for standard windows controls, so why doesn't it work?

    And as a side issue, how come most of the sample theme xaml files are missing for Office Black?


  2. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 18 Mar 2011 Link to this post

    Hello Steven,

     
    The Telerik themes are designed to work mainly with our RadControls and only some of the native WPF/Silverlight controls. 
    Telerik themes can be applied to the following native WPF controls:

    1.System.Windows.Button
    2.System.Windows.CheckBox
    3.System.Windows.ListBox
    4.System.Windows.RadioButton
    5.System.Windows.ScrollViewer
    6.System.Windows.PasswordBox
    7.System.Windows.RepeatButton
    8.System.Windows.TextBox


    When you set an application theme, it will be applied to all Telerik controls and to the native controls listed above. You may send us a small application in a new support ticket where we can see why this theme is applied only to RadGridView, thus we will be able to provide you with an appropriate solution. On a side note we ship our themes as a separate projects from where you can get the styles for our controls, you may find these in the Themes folder of your personal installation. Furthermore with our Q1 release you may get the xaml files for Office_Black theme, please find attached this folder. 

     

    Kind regards,
    Vanya Pavlova
    the Telerik team
  3. Travis
    Travis avatar
    28 posts
    Member since:
    Dec 2010

    Posted 06 Feb 2012 Link to this post

    Okay, so how do I get my startupURI window, in WPF, to use one of the Rad themes???
Back to Top