win10 UWP 标题栏后退

最后更新于:2022-04-01 20:23:27

设置里,标题栏有后退按钮  ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2016-04-08_570763723398e.jpg)  在win平板,可以有后退键,手机也有  pc可以在标题栏 ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2016-04-08_570763724332e.jpg) 在`OnLaunched` ~~~ //最后 Windows.UI.Core.SystemNavigationManager.GetForCurrentView().BackRequested += BackRequested; Windows.UI.Core.SystemNavigationManager.GetForCurrentView().AppViewBackButtonVisibility = Windows.UI.Core.AppViewBackButtonVisibility.Visible; ~~~ BackRequested后退方法
';