Theme StyleManager performance

2 posts, 0 answers
  1. Krijn
    Krijn avatar
    6 posts
    Member since:
    Mar 2009

    Posted 18 Sep 2013 Link to this post

    Hi

    I have noticed some huge performance difference when the StyleManager is enabled - default value - or when disabled.

    When enabled every telerik control will reset template in OnInitialized method:


    One window with 6 RadComboBox elements: ResetTheme takes 585 ms ..

    How can I specify application wide theme -windows8- and disable the stylemanager:
    Telerik.Windows.Controls.StyleManager.IsEnabled = False

    Thanks
  2. Rosen Vladimirov
    Admin
    Rosen Vladimirov avatar
    640 posts

    Posted 23 Sep 2013 Link to this post

    Hello Krijn,

    You can use Implicit Styles in order to set application theme. You just have to use our NoXaml  binaries and merge the resources in App.xaml file. More information is available in our online help here.

    Hopefully this helps. Feel free to contact us in case you have any problems or concerns.

    Regards,
    Rosen Vladimirov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top