zoukankan      html  css  js  c++  java
  • Win10 UI介绍之Titlebar

    活动状态

    非活动状态

    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/

    http://blog.thomasnigro.fr/2015/02/11/exploring-w10-apis-windows-and-titlebar/ 自定义状态栏

  • 相关阅读:
    1
    最大子串
    线段树
    mybatis分页插件
    springmvc下载文件
    获“领跑衫”感言
    finnal 评论 II
    用户使用报告
    事后诸葛亮会议 (尸体解剖)
    final阶段成员贡献分
  • 原文地址:https://www.cnblogs.com/androllen/p/5057389.html
Copyright © 2011-2022 走看看