本文介绍了模板10汉堡菜单详细信息页面在恢复后消失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
启动应用[按下主页按钮]
Start app[Press home button]
现在我只看到汉堡图标.这是我的暂停和恢复功能.
now i only see the hamburger icon. this is my suspend and resume functions.
推荐答案
由Template10团队解决. dg2k.一切都很好.对于公共重写UIElement中的以下行,只需将ExistingContent.Exclude更改为ExistingContent.Include.UIElement CreateRootElement(IActivatedEventArgs e)(App.xaml.cs).
Resolved by the Template10 team. dg2k.All is fine.Just change ExistingContent.Exclude to ExistingContent.Include for the following line in public override UIElement CreateRootElement(IActivatedEventArgs e) (App.xaml.cs).
public override UIElement CreateRootElement(IActivatedEventArgs e)
{
...
var navService = NavigationServiceFactory(BackButton.Attach, ExistingContent.Include);
...
}
这篇关于模板10汉堡菜单详细信息页面在恢复后消失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!