RadPanes Lose theme

2 posts, 0 answers
  1. Ian
    Ian avatar
    23 posts
    Member since:
    Jun 2011

    Posted 14 Feb 2012 Link to this post

    I intially wanted to design my application to allow users to choose a display theme. However when selecting themes i noticed alot of panes would lose content, or it would just randomly crash when switch themes.

    SO instead i just set the default theme and dont let them change. However i have found that it randomly loses themes whenever i pin/unpin one of the panes

    Here is my combobox which i have just set to a default theme


    <telerik:RadComboBox x:Name="comboTheme" Visibility="Collapsed" SelectionChanged="comboTheme_SelectionChanged" SelectedIndex="7" HorizontalContentAlignment="Center" Width="150">



















    and then throughout my xaml i have the following

    telerik:StyleManager.Theme="{Binding ElementName=comboTheme,Path=SelectedItem,Mode=TwoWay}"

    One of my panes by default is docked but unpinned. when i pin it or move it/dock it all of my ui suddently loses its theme and defaults back to office black.

    Any idea why ?





  2. Ivo
    Ivo avatar
    390 posts

    Posted 20 Feb 2012 Link to this post


    Changing themes at runtime is not supported for RadDocking control. The best you can achieve is to reset the UserControl holding the RadDocking when the theme changes. You can find attached a sample project demonstrating this.

    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top