<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" xmlns:icon="http://metro.mahapps.com/winfx/xaml/iconpacks" 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" /> <RowDefinition Height="40" /> <RowDefinition Height="20" /> </Grid.RowDefinitions> <TextBlock Grid.Row="0" Grid.Column="0" HorizontalAlignment="Right" VerticalAlignment="Center" FontSize="14" Text="Installation Location" TextAlignment="Center" /> <local:FilePicker Grid.Row="0" Grid.Column="2" Height="30" VerticalAlignment="Center" FontSize="14" PickerVM="{Binding Location}" /> <TextBlock Grid.Row="1" Grid.Column="0" HorizontalAlignment="Right" VerticalAlignment="Center" FontSize="14" Text="Download Location" TextAlignment="Center" /> <local:FilePicker Grid.Row="1" Grid.Column="2" Height="30" VerticalAlignment="Center" FontSize="14" PickerVM="{Binding DownloadLocation}" /> <CheckBox Grid.Row="2" 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> </Grid> </UserControl>