尝试查找功能区控制资源字典时出错 - Office2007Blue
当我尝试加载应该随 WPF RibbonControlLibrary 一起提供的 Office2007Blue 资源字典时,我不断收到错误#6(查找资源字典“/RibbonControlsLibrary;component/Themes/Office2007Blue.xaml”时发生错误)。有没有人见过这个问题并找到解决办法?我正在使用此控件的版本 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>
谢谢大家。
I keep getting an error #6 (An error occurred while finding the resource dictionary "/RibbonControlsLibrary;component/Themes/Office2007Blue.xaml") when I try an load the Office2007Blue resource dictionary that is supposed to come with the WPF RibbonControlLibrary. Has anyone seen this problem and found a fix? I'm using version 3.5.40729.1 of this control.
My XAML is as follows and I've located it within 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>
Thanks all.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
显然,这些不包含在 WPF 团队发布的版本中。 :(
Apparently, these aren't included with the version put out by the WPF team. :(