我有一个带有主题(ShinyRed.xaml)的WPF应用程序,我想要有一个按钮,当单击该按钮时会将主题更改为ShinyBlue.xaml
我最初在App.xaml中加载主题:
<Application.Resources>
<ResourceDictionary Source="/Themes/ShinyBlue.xaml"/>
</Application.Resources>
我该怎么做呢?
https://stackoverflow.com/questions/6229724
复制相似问题