This is a migrated thread and some comments may be shown as answers.

Theme StyleManager performance

1 Answer 87 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Krijn
Top achievements
Rank 1
Krijn asked on 18 Sep 2013, 06:58 PM
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

1 Answer, 1 is accepted

Sort by
0
Rosen Vladimirov
Telerik team
answered on 23 Sep 2013, 06:34 AM
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 >>
Tags
General Discussions
Asked by
Krijn
Top achievements
Rank 1
Answers by
Rosen Vladimirov
Telerik team
Share this question
or