有没有办法定制UWP应用程序_Back按钮的背景颜色和大小?
var titleBar = ApplicationView.GetForCurrentView().TitleBar;
titleBar.ButtonBackgroundColor = Colors.Maroon;
titleBar.ButtonForegroundColor = Colors.Yellow;
或者你甚至可以通过这个链接找到解决方案,学习如何移除Chrome并创建自己的带有返回按钮的Chrome(需要一些复杂的步骤)。
这个想法是使用CoreApplication类来设置应用程序的“无边框”模式,并编写以下代码:
CoreApplication.GetCurrentView().TitleBar.ExtendViewIntoTitleBar = true;