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

  • 相关阅读:
    线程包含CPU现场
    K8S资源操作
    Kubernetes资源管理
    kubernetes部署安装
    kubernetes简介
    Docker总结
    3.11 虚拟局域网
    3.10 以太网交换机生成树协议STP
    3.9 以太网交换机自学习和转发帧的流程
    3.8 集线器与交换机的区别
  • 原文地址:https://www.cnblogs.com/androllen/p/5057389.html
Copyright © 2011-2022 走看看