首页 > Windows开发 > 详细

Win10 UI介绍之Titlebar

时间:2015-12-18 18:12:54      阅读:196      评论:0      收藏:0      [点我收藏+]

活动状态

技术分享

非活动状态

技术分享

 

var titleBar = ApplicationView.GetForCurrentView().TitleBar;

titleBar.BackgroundColor = Colors.Azure;
titleBar.ForegroundColor = Colors.Gray;

titleBar.InactiveBackgroundColor = Colors.Yellow;   //非活动状态
titleBar.InactiveForegroundColor = Colors.DarkRed; //非活动状态

titleBar.ButtonBackgroundColor = Colors.Red;
titleBar.ButtonHoverBackgroundColor = Colors.Orange; //悬停状态
titleBar.ButtonPressedBackgroundColor = Colors.Yellow;
titleBar.ButtonInactiveBackgroundColor = Colors.Blue;  //非活动状态

titleBar.ButtonForegroundColor = Colors.SkyBlue;
titleBar.ButtonHoverForegroundColor = Colors.Silver;//悬停状态
titleBar.ButtonPressedForegroundColor = Colors.Green;
titleBar.ButtonInactiveForegroundColor = Colors.Green; //非活动状态

 

 链接: http://pan.baidu.com/s/1eRd6R66 密码: 1ieh

https://marcominerva.wordpress.com/2015/05/19/easily-manage-the-title-bar-in-windows-10-apps/

Win10 UI介绍之Titlebar

原文:http://www.cnblogs.com/luquanmingren/p/5057389.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!