Catel Orchestra不在Fluent Ribbon工作

时间:2015-12-28 16:20:31

标签: wpf catel orchestra

您好我试图将主题应用于Fluent功能区但不幸的是它不起作用。但视觉工作室设计师的一切有趣之处。这是我尝试做的代码,还有一个问题。如何在主窗口中禁用全屏模式?

<Application x:Class="WLDA.Server.App" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <Application.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="pack://application:,,,/Fluent;Component/Themes/Windows8/Generic.xaml" /> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> </Application.Resources> </Application> enter image description here

Test App

1 个答案:

答案 0 :(得分:0)

这可能是由Orchestra为您自动添加Fluent功能区样式引起的(并且它们默认为Office 2013)。

一种解决方案可能是从Application.Current.Resources.MergedDictionaries中删除现有字典,而是添加Windows 8。

您可以使用Orchestra存储库(带示例)来测试它是否有效。

相关问题