-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Brush Names
Sometimes you may want to use the toolkit's brushes directly in your XAML. Typically you'll use them as dynamic resources, so they update with the current material palette.
- MaterialDesign.Brush.Primary.Light
- MaterialDesign.Brush.Primary.Light.Foreground
- MaterialDesign.Brush.Primary
- MaterialDesign.Brush.Primary.Foreground
- MaterialDesign.Brush.Primary.Dark
- MaterialDesign.Brush.Primary.Dark.Foreground
NB [Light/Mid/Dark]Brush
define the different hues of the color, and the [Light/Mid/Dark].Foreground
define a foreground color which will show up clearly on that hue.
- MaterialDesign.Brush.Secondary.Light
- MaterialDesign.Brush.Secondary.Light.Foreground
- MaterialDesign.Brush.Secondary
- MaterialDesign.Brush.Secondary.Foreground
- MaterialDesign.Brush.Secondary.Dark
- MaterialDesign.Brush.Secondary.Dark.Foreground
NB [Light/Mid/Dark]Brush
define the different hues of the color, and the [Light/Mid/Dark].Foreground
define a foreground color which will show up clearly on that hue.
Prior to version 2.6.0 there was only these accent brushes. Though these still exist in version 3.0.0, they should be considered obsolete and were removed in 5.0.0.
- SecondaryAccentBrush
- SecondaryAccentForegroundBrush
<TextBlock Foreground="{DynamicResource MaterialDesign.Brush.Primary}" />
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