尝试显示MahApps Metro对话框时发生异常

时间:2018-11-12 15:04:24

标签: wpf dialog mahapps.metro

调用此函数时 await this.ShowMessageAsync("Title","Message")我收到来自行MahApps.Metro.ThemeManager.DetectAppStyle in C:\projects\mahapps-metro\src\MahApps.Metro\ThemeManager\ThemeManager.cs:line 540

的NullReferenceException

编辑: <ResourceDictionary "...Colors.xaml"/> <ResourceDictionary "...Controls.xaml"/> <ResourceDictionary "...Accents/blue.xaml"/>

0 个答案:

没有答案