Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

MaterialDesignInXamlToolkit

> 设计协作
Open source

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

16.2K stars0 likes11 views
WebsiteGitHub

About

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

Material Design In XAML Toolkit

) ) Comprehensive and easy to use Material Design theme and control library for the Windows desktop (WPF).

  • Material Design styles for all major WPF Framework controls
  • Additional controls to support the theme, including Multi Action Button, Cards, Dialogs, Clock
  • Easy configuration of palette (at design and runtime), according to Google's guidelines
  • Full Material Design Icons icon pack
  • Easy transition effects
  • Compatible with Dragablz, MahApps
  • Demo applications included in the source project

See screenshots

Table of contents
  • Getting started
  • Building the source
  • Screenshots
  • More examples
  • FAQ
  • Contributing
  • Mentions
  • Backers
  • Sponsors

Getting started

[!NOTE] See the full starting guide for more in-depth information.

This quick guide assumes you have already created a WPF project and are using Microsoft Visual Studio 2022.

  • Install the toolkit through the visual NuGet package manager in Visual Studio or use the following command:
Install-Package MaterialDesignThemes
  • Alter your App.xaml
…
  • If you want to target Material Design 3, alter the ResourceDictionary line in the snippet above to use MaterialDesign3.Defaults.xaml.

  • Alter your MainWindow.xaml

xml
<Window [...]
  Style="{StaticResource MaterialDesignWindow}"
  [...] >

XML Namespaces

The toolkit exposes two XML namespaces for use in XAML:

Prefix URI Description
materialDesign http://materialdesigninxaml.net/winfx/xaml/themes Primary namespace for all public Material Design types, controls, and converters.
materialDesignInternal http://materialdesigninxaml.net/winfx/xaml/themes-internal Namespace for types in internal sub-namespaces (MaterialDesignThemes.Wpf.Internal, MaterialDesignThemes.Wpf.Converters.Internal, MaterialDesignThemes.Wpf.Behaviors.Internal).

[!WARNING] Types exposed via the materialDesignInternal namespace are considered internal implementation details and are not guaranteed to maintain backwards-compatibility between versions. Use them at your own risk.

To use the internal namespace in XAML:

xml
<Window ...
  xmlns:materialDesignInternal="http://materialdesigninxaml.net/winfx/xaml/themes-internal">

Building the source

To build the project, following is required:

  • Microsoft Visual Studio 2022
  • .NET desktop development workload

This repository also contains 3 different demo applications:

  • MaterialDesignDemo - Reference WPF app with Material Design 2 styling, this contains all controls and is a recommended tool when developing apps with this library
  • MaterialDesign3Demo - Reference WPF app with Material Design 3 styling, under development
  • MahAppsDragablzDemo - Demo app for combining with Dragablz and MahApps

Screenshots

Material Design 3 demo app screenshots Material Design 2 demo app screenshots

[!WARNING] The screenshots below are taken from the Material Design 2 demo app. Material Design 3 is the latest version, so the UI shown here may differ from the latest design.

More examples

  • Keboo/MaterialDesign.Examples
  • Motion List

FAQ

  • How to increase rendering performance?

Contributing

Before contributing code read the Contribution Guidelines

  • GitHub issues are for bugs and feature requests.
  • For questions, help and chat in general, please use the GitHub discussion tab or the Discord server.
  • Stack Overflow tag: material-design-in-xaml

Want to say thanks? 🙏🏻

  • Hit the :star: star :star: button
  • If you'd like to make a very much appreciated financial donation please visit open collective

This project exists thanks to all the people who contribute.

Mentions

  • **James Willock ** - Founder of the project
  • **Kevin Bost ** - Maintainer of the repository
  • Snalty
  • Designer of the logo
  • Icon pack sourced from Material Design Icons
  • ControlzEx - Library used in MaterialDesignInXAML
  • Ignace Maes - Whose Material Skin project inspired the original material design theme for Dragablz, which in turn led James Willock start this project
  • Material Design Extensions - A community repository based on this library that provides additional controls and features.
  • Contributors - A big thank you to all the contributors of the project!

Backers

Thank you to all our backers! 🙏 Become a backer.

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. Become a sponsor.

Issues· 146 open

View all issuesOpen on GitHub
  • #4099

    Outlined Chip with IsDeletable has stange hover effect.

    bugevaluation requiredUpdated Sep 30, 2026
  • #4094

    Deadzone in `NumericUpDown` control

    bugevaluation requiredUpdated Sep 14, 2026
  • #4093

    Add NumericUpDown for `long` and `double`

    enhancementUpdated Sep 10, 2026
  • #3840

    Poor performance following ShadowAssist.CacheMode change #3616

    bugUpdated Aug 28, 2026
  • #3434

    DialogHost accessibility issue

    bugdialoghostUpdated Aug 28, 2026
  • #3428

    Child of WindowsFormsHost inside materialDesign:DialogHost.DialogContent not visible.

    bugdialoghostUpdated Jun 16, 2026
  • #3918

    Use ComponentResourceKey instead of strings to identify resources

    enhancementevaluation requiredUpdated May 18, 2026
  • #3590

    New colors don't match old v4.x colors

    bugevaluation requiredUpdated May 1, 2026
  • #3441

    Demo app huge memory leak

    bugdemo appUpdated May 1, 2026
  • #3221

    Unmanaged memory leak after upgrading to 4.9

    bugUpdated May 1, 2026

> Tags

C#c-sharpdesigndragablzhacktoberfest

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category设计协作
PricingOpen source

> Related tools

F
Figma
协作式界面设计工具
S
sketch-wakatime
Sketch plugin for automatic time tracking and metrics generated from your Sketch usage.
Q
QuickColor
Quickly apply fills from the global or document color palettes to selected elements - 🎨