Win10 UAP 标题栏

//自定义标题栏
var view = Windows.UI.ViewManagement.ApplicationView.GetForCurrentView();
ApplicationViewTitleBar titleBar = view.TitleBar;
if (titleBar != null) {
titleBar.ExtendViewIntoTitleBar = true;//隐藏
titleBar.BackgroundColor = Color.FromArgb(84, 135, 205, 250);
titleBar.ForegroundColor = Colors.White;
titleBar.ButtonBackgroundColor = Color.FromArgb(84, 135, 205, 250);
titleBar.ButtonForegroundColor = Colors.White;
}

http://touchwp.com/view/343.html

上一篇:input(file)按钮美化


下一篇:Scala的类中定义内部类实战