TitleBar back button for UWP

后端 未结 2 587
南笙
南笙 2020-12-30 04:42

I\'ve seen that the windows settings are using a back button in the title bar; and would like to include something like that in my UAP but since Win10 is pretty new I couldn

2条回答
  •  粉色の甜心
    2020-12-30 05:09

    Although the suggested answer still works as of Win10 1803, with the release of 1709 Microsoft began discouraging the use of AppViewBackButton in favor of an in-app back button. Here's some XAML:

    Read more: https://docs.microsoft.com/en-us/windows/uwp/design/basics/navigation-history-and-backwards-navigation

提交回复
热议问题