-
Notifications
You must be signed in to change notification settings - Fork 22
Preparation
Thomas Freudenberg edited this page Jan 11, 2015
·
3 revisions
Before using TinyLittleMvvm, you first have to create a new WPF application.
We need to start somewhere, don't we?
We'll re-create the main window and its view model later.
Additionally, remove the StartupUri
attribute from the Application
element in App.xaml
.
Install-Package MahApps.Metro
Just following MahApps.Metro's quick start guide here:
All of MahApp.Metro's resources are contained within separate resource dictionaries. In order for most of the controls to adopt the MahApps.Metro theme, you will need to add the following ResourceDictionaries to your
App.xaml
.
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" />
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" />
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Colors.xaml" />
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/Blue.xaml" />
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/BaseLight.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>