• 大小: 14.42MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-07-31
  • 语言: C#
  • 标签: WPF  

资源简介

WPF的metro风格的控件库。提供源码,供大家学习。

资源截图

代码片段和文件信息

using System;
using System.Diagnostics;
using System.Windows;

namespace MahApps.Metro
{
    /// 
    /// An object that represents the foreground color for a Metro .
    /// 

    [DebuggerDisplay(“accent={Name} res={Resources.Source}“)]
    public class Accent
    {
        /// 
        /// The ResourceDictionary that represents this Accent.
        /// 

        public ResourceDictionary Resources;
        /// 
        /// Gets/sets the name of the Accent.
        /// 

        public string Name { get; set; }

        /// 
        /// Initializes a new instance of the MahApps.Metro.Accent class.
        /// 

        public Accent()
        { }

        /// 
        /// Initializes a new instance of the MahApps.Metro.Accent class.
        /// 

        /// The name of the new Accent.
        /// The URI of the accent ResourceDictionary.
        public Accent(string name Uri resourceAddress)
        {
            if (name == null) throw new ArgumentException(“name“);
            if (resourceAddress == null) throw new ArgumentNullException(“resourceAddress“);

            Name = name;
            Resources = new ResourceDictionary {Source = resourceAddress};
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    .......    630272  2015-11-06 05:36  MahApps.Metro-master\.build\MSBuild.Community.Tasks.dll

    .......     11782  2015-11-06 05:36  MahApps.Metro-master\.build\MSBuild.Community.Tasks.targets

    .......       296  2015-11-06 05:36  MahApps.Metro-master\.editorconfig

    .......       482  2015-11-06 05:36  MahApps.Metro-master\.gitattributes

    .......      2719  2015-11-06 05:36  MahApps.Metro-master\.gitignore

     文件        169  2015-11-27 14:32  MahApps.Metro-master\.nuget\NuGet.Config

    .......   1664000  2015-11-06 05:36  MahApps.Metro-master\.nuget\NuGet.exe

    .......      7389  2015-11-06 05:36  MahApps.Metro-master\.nuget\NuGet.targets

    ..A..H.    471552  2015-12-15 20:30  MahApps.Metro-master\.vs\MahApps.Metro\v14\.suo

    .......        11  2015-11-06 05:36  MahApps.Metro-master\Build\.gitignore

    .......      1253  2015-11-06 05:36  MahApps.Metro-master\Build\build.ps1

    .......      1134  2015-11-06 05:36  MahApps.Metro-master\Build\MahApps.Metro.proj

    .......      5257  2015-11-06 05:36  MahApps.Metro-master\CONTRIBUTING.md

    .......   1566958  2015-11-06 05:36  MahApps.Metro-master\docs\main_demo_window.gif

    .......     62314  2015-11-06 05:36  MahApps.Metro-master\docs\main_demo_window.png

    .......     65512  2015-11-06 05:36  MahApps.Metro-master\docs\new_project_dialog.png

    .......      2425  2015-11-06 05:36  MahApps.Metro-master\docs\release-notes\0.10.1.md

    .......      1829  2015-11-06 05:36  MahApps.Metro-master\docs\release-notes\0.11.0.md

    .......      4055  2015-11-06 05:36  MahApps.Metro-master\docs\release-notes\0.12.0.md

    .......       938  2015-11-06 05:36  MahApps.Metro-master\docs\release-notes\0.12.1.md

    .......      3703  2015-11-06 05:36  MahApps.Metro-master\docs\release-notes\0.13.0.md

    .......       133  2015-11-06 05:36  MahApps.Metro-master\docs\release-notes\0.13.1.md

    .......      2658  2015-11-06 05:36  MahApps.Metro-master\docs\release-notes\0.14.0.md

    .......      3294  2015-11-06 05:36  MahApps.Metro-master\docs\release-notes\1.0.0.md

    .......      5696  2015-11-06 05:36  MahApps.Metro-master\docs\release-notes\1.1.0.md

    .......       254  2015-11-06 05:36  MahApps.Metro-master\docs\release-notes\1.1.1.md

    .......       682  2015-11-06 05:36  MahApps.Metro-master\docs\release-notes\1.1.2.md

    .......     10581  2015-11-06 05:36  MahApps.Metro-master\docs\release-notes\1.2.0.md

    .......       142  2015-11-06 05:36  MahApps.Metro-master\docs\release-notes\2.0.0.md

    .......      1011  2015-11-06 05:36  MahApps.Metro-master\docs\v1.0-Migration-Guide.md

............此处省略1257个文件信息

评论

共有 条评论