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/ 自定义状态栏

  • 相关阅读:
    d3的一些总结
    NPashaP的二分图源码部分
    python的web服务器
    d3碰撞源码分析
    测试cnblog文章内部JS
    仿淘宝 vue
    webpack散记---代码分割 和 懒加载
    webpack散记---提取公共代码
    webpack散记--Typescript
    webpack随笔2--编译ES6/ES7
  • 原文地址:https://www.cnblogs.com/luquanmingren/p/5057389.html
Copyright © 2011-2022 走看看