/dnthemeToXAML

Convert dntheme file to XAML file.

Primary LanguageC#GNU General Public License v3.0GPL-3.0

dnthemeToXAML

Convert dntheme file to XAML file.

Usage

  1. Simply copy the *.dntheme file into the themes folder, which is at the same level as dnthemeToXAML.exe

  2. Run dnthemeToXAML.exe

  3. You will get *.xaml files in the resources folder

  4. Use *.xaml and wpf.styles.templates.xaml in your application

NOTE: You need to modify the wpf.styles.templates.xaml to make it work

Ask for help

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.