隐藏默认标题栏以及自定义标题按钮前景色和背景色。
private void ExtendAcrylicIntoTitleBar()
{
//CoreApplication.GetCurrentView().TitleBar.ExtendViewIntoTitleBar = true;
var titleBar = ApplicationView.GetForCurrentView().TitleBar;
titleBar.ButtonBackgroundColor = Colors.Black;
titleBar.ButtonInactiveBackgroundColor = Colors.Black;
titleBar.BackgroundColor = Colors.Black;
titleBar.InactiveBackgroundColor = Colors.Black;
}