创建一个Material Design项目
新建WPF项目
选择4.5及以上。
添加包
MaterialDesignThemes 版本3.0.1
ShowMeTheXAML.MSBuild
修改App.Xaml
在Application.Resources内添加
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<materialDesign:BundledTheme BaseTheme="Light" PrimaryColor="DeepPurple" SecondaryColor="Lime" />
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Defaults.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>