Hello Moyle,
Thank you for your time and detailed investigation.
The blog post that you refer to is written almost 6 years ago and therefore the containing information may not be up to date. In the meantime, a lot of improvements for both StyleManager and NoXaml have been made. The most frequently updated and recommended source of information is our live documentation -
https://docs.telerik.com/devtools/wpf. You can check
the following article and the whole Style and Appearance section as a further reference.
About the first question that you asked, I confirm that implicit styles are fully supported when using the StyleManager theming mechanism. The snippet that you provided will work for all themes.
About the second question, if I understand correctly, you need to create custom themes in a separate assembly. This can be achieved without using any theme dlls. We provide the XAML content of these dlls as separate XAML files. You can use them to base on an existing theme instead of starting from scratch, which will ensure that all the functionality works correctly. These files can be found in the /Telerik UI for WPF installation folder/Themes.Implicit folder. The following
documentation article can be used as a further reference.
To get started, you need to copy the needed XAML files in a separate folder in your application, make the needed modifications and (if desired) extract them in a separate theme assembly. You can also combine several themes in a single dll depending on your needs which will enable the possibility to easily change them at runtime.
Thank you for the suggestions on improving the theming mechanism - we will definitely check them out. Yet, it will be of great help if you could share a sample project that demonstrates the approach you described.
I hope that this will help you. If any further assistance is needed, do not hesitate to contact us.
Best Regards,
Vicky
Progress Telerik
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.