您好,我正在尝试将主题应用于 Fluent Ribbon,但不幸的是它不起作用。但是视觉工作室设计师的有趣之处在于一切正常。这是我尝试做的代码,还有一个问题。如何在主窗口中禁用全屏模式?
<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>