删除WPF的ModernUI插件中的后退按钮 [英] Remove back button in ModernUI plugin for wpf
问题描述
我正在尝试使用MUI软件包开发现代的wpf应用程序.但是,我不希望出现后退按钮,并且我尝试按照
I am trying to develop a modern wpf application using the MUI package. However I do not wish for the back button to be present and I tried to follow the steps mentioned in this link but it is not working.
由于在名称空间等中未定义的控件,我遇到了错误.基本上,我无法编译代码.我在做什么错了?
I am getting errors as controls not defined in namespace, etc. Basically, I cannot get the code to compile. What am I doing wrong?
推荐答案
由于Style
引用了ModernUI库中控件的TargetType
属性,因此需要在Style
.
Because the TargetType
property in the Style
references controls from the ModernUI library, you need to add the XML namespace for the ModernUI controls in the ResourceDictionary
containing the Style
.
我不知道该名称空间是什么,但需要添加如下内容:
I don't know what that namespace is, but need to add something like this:
xmlns:mui="clr-namespace:FirstFloor.ModernUI.Windows.Controls;assembly=FirstFloor.ModernUI"
这篇关于删除WPF的ModernUI插件中的后退按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!