mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
57 lines
2.2 KiB
XML
57 lines
2.2 KiB
XML
<mahapps:MetroWindow
|
|
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"
|
|
xmlns:mahapps="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
Title="Wabbajack"
|
|
Width="1280"
|
|
Height="960"
|
|
MinWidth="850"
|
|
MinHeight="650"
|
|
Closing="Window_Closing"
|
|
RenderOptions.BitmapScalingMode="HighQuality"
|
|
ResizeMode="CanResize"
|
|
Style="{StaticResource {x:Type Window}}"
|
|
TitlebarHeight="25"
|
|
UseLayoutRounding="True"
|
|
WindowStyle="ToolWindow"
|
|
mc:Ignorable="d">
|
|
<ContentPresenter Content="{Binding ActivePane}">
|
|
<ContentPresenter.Resources>
|
|
<DataTemplate DataType="{x:Type local:CompilerVM}">
|
|
<local:CompilerView />
|
|
</DataTemplate>
|
|
<DataTemplate DataType="{x:Type local:InstallerVM}">
|
|
<local:InstallationView />
|
|
</DataTemplate>
|
|
<DataTemplate DataType="{x:Type local:LoginManagerVM}">
|
|
<local:LoginManagerView />
|
|
</DataTemplate>
|
|
<DataTemplate DataType="{x:Type local:ModeSelectionVM}">
|
|
<local:ModeSelectionView />
|
|
</DataTemplate>
|
|
<DataTemplate DataType="{x:Type local:ModListGalleryVM}">
|
|
<local:ModListGalleryView />
|
|
</DataTemplate>
|
|
<DataTemplate DataType="{x:Type local:WebBrowserVM}">
|
|
<local:WebBrowserView />
|
|
</DataTemplate>
|
|
</ContentPresenter.Resources>
|
|
</ContentPresenter>
|
|
|
|
<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>
|
|
</mahapps:MetroWindow>
|