Convert dntheme file to XAML file.
Simply copy the *.dntheme file into the themes folder, which is at the same level as dnthemeToXAML.exe
You will get *.xaml files in the resources folder
Use *.xaml and wpf.styles.templates.xaml in your application
NOTE: You need to modify the wpf.styles.templates.xaml to make it work
First, I use the class "XDocument" generate xaml file. But it does not work very well.
Who knows why?
How to fix it?
Thanks for your help.