2019-11-25 05:43:56 +00:00
|
|
|
<mahapps:MetroWindow
|
2019-10-11 22:30:12 +00:00
|
|
|
x:Class="Wabbajack.MainWindow"
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
xmlns:local="clr-namespace:Wabbajack"
|
2019-11-25 05:43:56 +00:00
|
|
|
xmlns:mahapps="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
|
2019-10-11 22:30:12 +00:00
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
Title="Wabbajack"
|
|
|
|
Width="1280"
|
|
|
|
Height="960"
|
2019-10-30 19:45:42 +00:00
|
|
|
MinWidth="850"
|
|
|
|
MinHeight="650"
|
2019-10-11 22:30:12 +00:00
|
|
|
Closing="Window_Closing"
|
2019-11-10 02:38:44 +00:00
|
|
|
RenderOptions.BitmapScalingMode="HighQuality"
|
2019-10-11 22:30:12 +00:00
|
|
|
ResizeMode="CanResize"
|
|
|
|
Style="{StaticResource {x:Type Window}}"
|
2019-11-25 05:43:56 +00:00
|
|
|
TitlebarHeight="25"
|
2019-11-10 02:38:44 +00:00
|
|
|
UseLayoutRounding="True"
|
2019-10-11 22:30:12 +00:00
|
|
|
WindowStyle="ToolWindow"
|
|
|
|
mc:Ignorable="d">
|
2019-11-02 00:17:23 +00:00
|
|
|
<ContentPresenter Content="{Binding ActivePane}">
|
2019-10-25 04:26:29 +00:00
|
|
|
<ContentPresenter.Resources>
|
2019-11-02 00:17:23 +00:00
|
|
|
<DataTemplate DataType="{x:Type local:CompilerVM}">
|
2019-10-25 04:26:29 +00:00
|
|
|
<local:CompilerView />
|
|
|
|
</DataTemplate>
|
2019-11-02 00:17:23 +00:00
|
|
|
<DataTemplate DataType="{x:Type local:InstallerVM}">
|
2019-10-25 04:26:29 +00:00
|
|
|
<local:InstallationView />
|
|
|
|
</DataTemplate>
|
2019-12-20 20:51:10 +00:00
|
|
|
<DataTemplate DataType="{x:Type local:LoginManagerVM}">
|
|
|
|
<local:LoginManagerView />
|
|
|
|
</DataTemplate>
|
2019-11-24 08:12:28 +00:00
|
|
|
<DataTemplate DataType="{x:Type local:ModeSelectionVM}">
|
|
|
|
<local:ModeSelectionView />
|
|
|
|
</DataTemplate>
|
2019-11-30 09:08:04 +00:00
|
|
|
<DataTemplate DataType="{x:Type local:ModListGalleryVM}">
|
|
|
|
<local:ModListGalleryView />
|
|
|
|
</DataTemplate>
|
2019-12-07 00:13:16 +00:00
|
|
|
<DataTemplate DataType="{x:Type local:WebBrowserVM}">
|
|
|
|
<local:WebBrowserView />
|
|
|
|
</DataTemplate>
|
2019-10-25 04:26:29 +00:00
|
|
|
</ContentPresenter.Resources>
|
|
|
|
</ContentPresenter>
|
2019-12-14 23:31:53 +00:00
|
|
|
|
|
|
|
<mahapps:MetroWindow.RightWindowCommands>
|
|
|
|
<mahapps:WindowCommands>
|
|
|
|
<Button Command="{Binding CopyVersionCommand}" Content="{Binding VersionDisplay}">
|
|
|
|
<Button.ToolTip>
|
|
|
|
<TextBlock>
|
|
|
|
Wabbajack Version<LineBreak />
|
|
|
|
Click to copy to clipboard</TextBlock>
|
|
|
|
</Button.ToolTip>
|
|
|
|
</Button>
|
|
|
|
</mahapps:WindowCommands>
|
|
|
|
</mahapps:MetroWindow.RightWindowCommands>
|
2019-11-25 05:43:56 +00:00
|
|
|
</mahapps:MetroWindow>
|