Remove back button in ModernUI plugin for wpf

六眼飞鱼酱① 提交于 2019-12-24 14:30:45

问题


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?


回答1:


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"


来源:https://stackoverflow.com/questions/32105137/remove-back-button-in-modernui-plugin-for-wpf

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!