README.md

    Material Design In XAML Toolkit

    Alt text

    Summary

    • XAML Resources for Google swatches displayed
    • WPF control themes
    • Small sample apps within solution showing how to include chosen colours and use the resources:
      • MaterialDesignColors.WpfExample - illustrates palette use and control themes in WPF
      • MahMaterialDragablzMashUp - illustrates combination of Dragablz, MahApps, and Material Design for saweet UI.
      • MaterialDesignColors.UniversalExample - illustrates palette use in WinRT
    • Compatible with MahApps and Dragablz. See demo app in source and Mash Up! blog.
    • Includes hacky console app which was used to generate the XAML colour definitions

    Gitter Build NuGet-Themes NuGet-Themes Issues Twitter

    How Can I Use The Colours?

    1. Choose your source:
    • Install the NuGet package Install-Package MaterialDesignColors
    • Manually pull from Themes directory and include in your project
    1. In your App.XAML choose the primary palette and secondary palette, and configure standard brushes, as in this example (this is identical for WPF/WinRT)
    2. Make colourful things.
    3. Want help choosing your palette? Try the Palette Builder (this is very much a work-in-progress)

    How Can I Use The Themes?

    • Install Nuget package Install-Package MaterialDesignThemes
    • Import required resource dictionaries, and use styles as desired. For examples, see the MaterialDesignColors.WpfExample project in the source code.

    More Pics

    Alt text Alt text Alt text

    A Brief History

    In creating a Material Design TabControl theme for Dragablz, the first step was getting hold of all the colours. The resulting resource dictionaries work well stand alone, so are completely re-usable.

    Then I took a step further and created a few simple styles which turned out looking OK.

    Alt text

    项目简介

    Google's Material Design in XAML & WPF, for C# & VB.Net.

    发行版本 39

    4.9.0

    全部发行版

    贡献者 196

    全部贡献者

    开发语言

    • C# 98.3 %
    • JavaScript 1.4 %
    • PowerShell 0.3 %
    • HTML 0.0 %
    • CSS 0.0 %