Hello,
In all the various examples that I've seen of changing the application theme, when changing the theme from one to the other it will reload the entire application and all default values. Is there a way to change the application theme without having to do it in the constructor of the app?
For example, in your online demos and local demos after installing the WPF toolkit, there is a drop down box that allows the user to change the theme of the current demo. If it's the combo box demo, if I change the values of the combo boxes to something else and then change the theme, the default values are selected again and my previous selections are reset. The same thing happens in the dock manager demo, if I close one or both of the top tabs and then change the theme, the tabs are reloaded. This appears to be because in all the demos, the themes are set in the constructors, thus changing them would require the constructors to reload which would cause any user input to be completely forgotten.
Is there a way of getting around this? Or would I be forced to individually change the themes on each individual control instead of the application theme to get what I want?
Thanks,
David
In all the various examples that I've seen of changing the application theme, when changing the theme from one to the other it will reload the entire application and all default values. Is there a way to change the application theme without having to do it in the constructor of the app?
For example, in your online demos and local demos after installing the WPF toolkit, there is a drop down box that allows the user to change the theme of the current demo. If it's the combo box demo, if I change the values of the combo boxes to something else and then change the theme, the default values are selected again and my previous selections are reset. The same thing happens in the dock manager demo, if I close one or both of the top tabs and then change the theme, the tabs are reloaded. This appears to be because in all the demos, the themes are set in the constructors, thus changing them would require the constructors to reload which would cause any user input to be completely forgotten.
Is there a way of getting around this? Or would I be forced to individually change the themes on each individual control instead of the application theme to get what I want?
Thanks,
David