个人WPF常用的配色方案

2019-08-05  本文已影响0人  psmyfish

写Demo用的配色方案

    <Color x:Key="PDarkBlue">#1a535c</Color>
    <Color x:Key="PLightBlue">#4ecdc4</Color>
    <Color x:Key="PWhite">#F7F7F7</Color>
    <Color x:Key="PRed">#ff6b6b</Color>
    <Color x:Key="PYellow">#ffe66d</Color>
    <Color x:Key="PBlue">#2e87cd</Color>

    <!--solid Brush-->
    <SolidColorBrush x:Key="DarkBluePs" Color="{StaticResource PDarkBlue}"/>
    <SolidColorBrush x:Key="LightBluePs" Color="{StaticResource PLightBlue}"/>
    <SolidColorBrush x:Key="WhitePs" Color="{StaticResource PWhite}"/>
    <SolidColorBrush x:Key="RedPs" Color="{StaticResource PRed}"/>
    <SolidColorBrush x:Key="YellowPs" Color="{StaticResource PYellow}"/>
    <SolidColorBrush x:Key="BluePs" Color="{StaticResource PBlue}"/>

常用分类

#region Private Properties

        #endregion

        #region Public Properties

        #endregion

        #region CM Commands

        #endregion

        #region Public Methods

        #endregion

        #region Private Methods

        #endregion

        #region Events

        #endregion

汉化

<s:String x:Key="Key1"></s:String>
            Console.WriteLine("This Long Log-----------------------------------------------------------------");
            Console.WriteLine($"Ts-----------------------------{timestamp}------------------------------------");
            Console.WriteLine($"Ts-----------------------------{_fileWriterManager.StartTimeStamp}------------------------------------");
            Console.WriteLine($"Ts-----------------------------{timestamp - _fileWriterManager.StartTimeStamp}------------------------------------");
            Console.WriteLine($"Ts-----------------------------{timestamp}------------------------------------");
            Console.WriteLine("This Long Log-----------------------------------------------------------------");

上一篇 下一篇

猜你喜欢

热点阅读