当前位置: 动力学知识库 > 问答 > 编程问答 >

wpf - Controls styles not found in MahApps 1.1.3-alpha225

问题描述:

I was using the stable version on nuget and changed to 1.1.3-alpha225 also from nuget. I did that so I could call dialogs through the ViewModel. But now I'm getting this error:

An error occurred while finding the resource dictionary "pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml"

All other dictionaries are ok:

<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" />

<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Colors.xaml" />

<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/Blue.xaml" />

<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/BaseLight.xaml" />

The controls is the only one giving error:

<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml"

Does anyone know if it changed on the new version or if there's a known bug?

分享给朋友:
您可能感兴趣的文章:
随机阅读: