2019-12-03 01:00:49 +00:00
|
|
|
<UserControl
|
|
|
|
x:Class="Wabbajack.MO2InstallerConfigView"
|
|
|
|
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"
|
2019-12-11 03:39:09 +00:00
|
|
|
xmlns:icon="http://metro.mahapps.com/winfx/xaml/iconpacks"
|
2019-12-03 01:00:49 +00:00
|
|
|
xmlns:local="clr-namespace:Wabbajack"
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
d:DesignHeight="450"
|
|
|
|
d:DesignWidth="800"
|
|
|
|
mc:Ignorable="d">
|
|
|
|
<Grid>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="Auto" MinWidth="120" />
|
|
|
|
<ColumnDefinition Width="20" />
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="40" />
|
2019-12-11 03:39:09 +00:00
|
|
|
<RowDefinition Height="40" />
|
|
|
|
<RowDefinition Height="20" />
|
2019-12-03 01:00:49 +00:00
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<TextBlock
|
2019-12-14 22:46:06 +00:00
|
|
|
Grid.Row="0"
|
2019-12-03 01:00:49 +00:00
|
|
|
Grid.Column="0"
|
|
|
|
HorizontalAlignment="Right"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
FontSize="14"
|
|
|
|
Text="Installation Location"
|
|
|
|
TextAlignment="Center" />
|
|
|
|
<local:FilePicker
|
2019-12-14 22:46:06 +00:00
|
|
|
Grid.Row="0"
|
2019-12-03 01:00:49 +00:00
|
|
|
Grid.Column="2"
|
|
|
|
Height="30"
|
|
|
|
VerticalAlignment="Center"
|
2019-12-15 06:20:28 +00:00
|
|
|
FontSize="14"
|
|
|
|
PickerVM="{Binding Location}" />
|
2019-12-03 01:00:49 +00:00
|
|
|
<TextBlock
|
2019-12-14 22:46:06 +00:00
|
|
|
Grid.Row="1"
|
2019-12-03 01:00:49 +00:00
|
|
|
Grid.Column="0"
|
|
|
|
HorizontalAlignment="Right"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
FontSize="14"
|
|
|
|
Text="Download Location"
|
|
|
|
TextAlignment="Center" />
|
|
|
|
<local:FilePicker
|
2019-12-14 22:46:06 +00:00
|
|
|
Grid.Row="1"
|
2019-12-03 01:00:49 +00:00
|
|
|
Grid.Column="2"
|
|
|
|
Height="30"
|
|
|
|
VerticalAlignment="Center"
|
2019-12-15 06:20:28 +00:00
|
|
|
FontSize="14"
|
|
|
|
PickerVM="{Binding DownloadLocation}" />
|
2019-12-11 03:39:09 +00:00
|
|
|
<CheckBox
|
2019-12-14 22:46:06 +00:00
|
|
|
Grid.Row="2"
|
2019-12-11 03:39:09 +00:00
|
|
|
Grid.Column="2"
|
|
|
|
HorizontalAlignment="Right"
|
|
|
|
Content="Overwrite Installation"
|
|
|
|
IsChecked="{Binding AutomaticallyOverwrite}"
|
|
|
|
ToolTip="If installing over an existing installation, automatically replace it without asking permission.">
|
|
|
|
<CheckBox.Style>
|
|
|
|
<Style TargetType="CheckBox">
|
|
|
|
<Setter Property="Opacity" Value="0.6" />
|
|
|
|
<Style.Triggers>
|
|
|
|
<DataTrigger Binding="{Binding IsMouseOver, RelativeSource={RelativeSource Self}}" Value="True">
|
|
|
|
<Setter Property="Opacity" Value="1" />
|
|
|
|
</DataTrigger>
|
|
|
|
</Style.Triggers>
|
|
|
|
</Style>
|
|
|
|
</CheckBox.Style>
|
|
|
|
</CheckBox>
|
2019-12-03 01:00:49 +00:00
|
|
|
</Grid>
|
|
|
|
</UserControl>
|