-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Toggle Button Styles
All examples use Deep Purple as the Primary Color and Lime as the Secondary/Accent color. Icon is the 'Battery 50' material icon.
To use any of these styles, just insert the following setting to your toggle button's tag:
Style="{DynamicResource STYLE_NAME}"
Where STYLE_NAME is the name of the style you want to add.
Uses the Primary Mid color scheme.
This variant changes the color scheme to Primary Light.
This variant changes the color scheme to Primary Dark.
This variant changes the color scheme to Accent.
This variant uses the Primary Mid Background color, instead of the default grey one.
Uses the Primary Mid color scheme.
Note: This style completly ignores the toggle button's Content.
Note: This style completly ignores the toggle button's Content.
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