关于返回键,放在标题栏是目前较为完美的一种方案。继前一篇的Hello World,博主进行一些修改实现该方法。
- - - - - - - - - - - - - - - - - - - - - - - 我是万恶的分割线- - - - - - - - - - - - - - - - - - -
在OnLaunched的方法中加
Windows.UI.Core.SystemNavigationManager.GetForCurrentView().BackRequested += BackRequested;
紧接着在加一段代码
SystemNavigationManager.GetForCurrentView().AppViewBackButtonVisibility = rootFrame.CanGoBack ? AppViewBackButtonVisibility

最低0.47元/天 解锁文章
1653

被折叠的 条评论
为什么被折叠?



