-
Notifications
You must be signed in to change notification settings - Fork 3.5k
FAQ
For control specific questions look at the corresponding pages under the Controls section in the sidebar.
This error typically comes when you have a static resource referencing one of the material design styles, and have not included the appropriate resource dictionary that contains the style. Try the following:
- Ensure that you have loaded all of the default material design styles in your App.xaml. You can find directions for this in the Getting Started guide.
- Ensure you have referenced the control specific resource dictionary that contains the style. The path for this is resource dictionary should be
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.<Control Name Here>.xaml" />
. For example, if you were trying to reference theMaterialDesignFloatingActionMiniButton
style for a button, the resource dictionary source would be:<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Button.xaml" />
. Typically these inclusions are done at root of your Window, User Control, or Template. You can find the full list of the resource dictionaries here
Project fails to build with error: The command ""...\MaterialDesignInXamlToolkit.paket\paket.exe" restore --references-file "...\MaterialDesignInXamlToolkit\MainDemo.Wpf\paket.references"" exited with code 1.
This error typically occurs when changing branches or occasionally on the initial build. Simply restart Visual Studio and rebuild the project.
If you see any mistake or want to contribute to this wiki feel free.
Home
Contributing
Compiling From Source
Glossary
Getting Started with MDIX
Getting Started
Tutorial On YouTube (português-BR)
Frequently Asked Questions
Examples Repository
Release Notes
Pack Icon Changes
2.0.0 Breaking Changes
Controls
All Control Styles
Buttons
ComboBox
Dialogs
PopupBox
Snackbar
TextBox
Toggle Button
Transitions
Icons
Theming
Advanced Theming
Brush Names
Custom Palette Hues
Fonts
Overriding Material Design Styles
Swatches and Recommended Colors
Miscellaneous
MahApps Integration
Performance
Strong Naming
.NET 4.0 Compatibility
Projects using Material Design
Understanding Routed Commands