For anyone that hits this forum searching for information how to change theme at runtime, here is an help article
showing how to do it using implicit styles
. Additionally, you can download the source code of the UI for WPF demos
and see how the theme changing mechanism is implemented there.
Note that if you use StyleManager you can switch themes at runtime using the same approach as in the previously linked article, but instead of merging resource dictionaries, you can just set them ApplicationTheme
static property of StyleManager. For example:
I hope this will help someone.
Get quickly onboarded and successful
with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.