我一直遇到一个错误 #6(在查找资源字典“/RibbonControlsLibrary;component/Themes/Office2007Blue.xaml”时发生错误),当我尝试加载应该随WPF RibbonControlLibrary一起提供的Office2007Blue资源字典时。有人遇到过这个问题并找到了解决方法吗?我正在使用版本3.5.40729.1的此控件。
感谢大家。
我的XAML如下,并且我已将其定位在Application.xaml中;
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/PresentationFramework.Luna,
Version=3.0.0.0,
PublicKeyToken=31bf3856ad364e35,
ProcessorArchitecture=MSIL;component/themes/luna.metallic.xaml" />
<ResourceDictionary Source="/RibbonControlsLibrary;component/Themes/Office2007Blue.xaml" />
</ResourceDictionary.MergedDictionaries>
<!-- other resources go here -->
</ResourceDictionary>
</Application.Resources>
感谢大家。