mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
7ad46c65cc
Looks like it's the proper way to do it anyway. https://stackoverflow.com/questions/751325/how-to-create-a-wpf-usercontrol-with-named-content UserControls are really just for super end-use
19 lines
1.0 KiB
XML
19 lines
1.0 KiB
XML
<Application
|
|
x:Class="Wabbajack.App"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:local="clr-namespace:Wabbajack"
|
|
ShutdownMode="OnExplicitShutdown"
|
|
StartupUri="Views\MainWindow.xaml">
|
|
<Application.Resources>
|
|
<ResourceDictionary>
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" />
|
|
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Colors.xaml" />
|
|
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/BaseDark.xaml" />
|
|
<ResourceDictionary Source="Themes\Styles.xaml" />
|
|
<ResourceDictionary Source="Themes\CustomControls.xaml" />
|
|
</ResourceDictionary.MergedDictionaries>
|
|
</ResourceDictionary>
|
|
</Application.Resources>
|
|
</Application> |