-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Performance
[refers to pre-release version]
This library relies heavily on animation but it may be necessary to reduce the animation burden, for example when running on resource constrained hardware.
These techniques can help:
WPF allows you reduce the Timeline (Storyboard) frame-rate (from the default of 60):
Timeline.DesiredFrameRateProperty.OverrideMetadata(typeof(Timeline), new FrameworkPropertyMetadata { DefaultValue = 30 });
The Material Design In XAML Toolkit library itself provides means to turn off transitions (where supported) via an attached property:
materialDesign:TransitionAssist.DisableTransitions="True"
This is an inheriting property, so you could turn off all (supported) transitions at Window (or UserControl) level:
<Window xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
materialDesign:TransitionAssist.DisableTransitions="True" />
Or you could manage this with more granularity on individual controls.
- DialogHost
- Drawer
- ProgressBar
- Clock
- Underline
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