Implicit Theme not being applied to radMenu

3 posts, 0 answers
  1. Miles
    Miles avatar
    2 posts
    Member since:
    Jan 2016

    Posted 13 Jan 2016 Link to this post

    Hi, I am using the implicit style "VisualStudio2013" and I want to change the appearance of an entire window based upon whatever preset I've loaded.

    For some reason, when I load the presets, only the RadButtons and the RadPropertyGrid change their appearance. Everything else (RadGridView, RadTreeListView, RadMenu) just keep the standard theme.

    What extra steps do I need to take to fix this?

    Many thanks,


    Class MainWindow 
     Private Sub RadButton_Click(sender As Object , e As RoutedEventArgs)    Telerik.Windows.Controls.VisualStudio2013Palette.LoadPreset(Telerik.Windows.Controls.VisualStudio2013Palette.ColorVariation.Light)
     End Sub
    Private Sub RadButton_Click_1(sender As Object , e As RoutedEventArgs) Telerik.Windows.Controls.VisualStudio2013Palette.LoadPreset(Telerik.Windows.Controls.VisualStudio2013Palette.ColorVariation.Dark)<End Sub
    Private Sub RadButton_Click_2(sender As Object , e As RoutedEventArgs)     Telerik.Windows.Controls.VisualStudio2013Palette.LoadPreset(Telerik.Windows.Controls.VisualStudio2013Palette.ColorVariation.Blue)End Sub
    End Class

    <Window x:Class="MainWindow"
    Title="MainWindow" Height="350" Width="857.951">
    <RowDefinition Height="13*"></RowDefinition>
    <RowDefinition Height="147*"></RowDefinition>
    <telerik:RadMenuItem Header="Test">
    <telerik:RadMenuItem Header="Test">
    <telerik:RadMenuItem Header="Test">
    <telerik:RadMenuItem Header="Test">
    <telerik:RadMenuItem Header="Test">
    <StackPanel Orientation="Horizontal" Grid.Row="1" Margin="10">
    <telerik:RadButton Width="100" Content="Light" Click="RadButton_Click"></telerik:RadButton>
    <telerik:RadButton Width="100" Content="Dark" Click="RadButton_Click_1"></telerik:RadButton>
    <telerik:RadButton Width="100" Content="Blue" Click="RadButton_Click_2"></telerik:RadButton>
    <telerik:RadPropertyGrid Width="150" />
    <telerik:RadGridView Width="150"/>
    <telerik:RadTreeListView Width="150"/>

  2. Nasko
    Nasko avatar
    706 posts

    Posted 15 Jan 2016 Link to this post

    Hi Miles,

    We checked the provided code-snippet and it seems everything is working as expected on our side. Please, check the attached video that demonstrates that and let us know if we didn't miss something?

    Also, please try to isolate the observed by you issue in a sample and send it to us - thus we could be able to continue our investigation?

    We are looking forward to hearing from you.

    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 Feedback Portal and vote to affect the priority of the items
  3. Hazy
    Hazy avatar
    3 posts
    Member since:
    Nov 2015

    Posted 26 Mar 2016 Link to this post

    Hi miriyo,

    After having the same issue, I realized that I was missing the following Resource Dictionary source




Back to Top