<Window x:Class="Valg.EVA.Skanning.Verify.Startup.VerifyBallotPaper.VerifiableViewModelsCollection.AutoVerifyInfoWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:verifiableViemodelsCollection="clr-namespace:Valg.EVA.Skanning.Verify.Startup.VerifyBallotPaper.VerifiableViewModelsCollection"
        xmlns:commands="clr-namespace:Valg.EVA.Skanning.UserInterfaceElements.Commands;assembly=Valg.EVA.Skanning.UserInterfaceElements"
        xmlns:userInterfaceElements="clr-namespace:Valg.EVA.Skanning.UserInterfaceElements;assembly=Valg.EVA.Skanning.UserInterfaceElements"
        mc:Ignorable="d"
        d:DesignHeight="507" d:DesignWidth="596"
        d:DataContext="{d:DesignInstance d:Type=verifiableViemodelsCollection:AutoVerifyInfoViewModel}"
        WindowStartupLocation="CenterOwner"
        WindowStyle="None"
        BorderBrush="#598026"
        BorderThickness="4"
        ResizeMode="NoResize"
        Width="551" 
        Height="366"
        UseLayoutRounding="True">
    <Window.InputBindings>
        <KeyBinding Key="Escape" 
                    Command="{x:Static commands:WellKnownSystemCommands.CloseCommand}" 
                    CommandParameter="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}}"
                    />
        <KeyBinding Key="Enter" 
                    Command="{x:Static commands:WellKnownSystemCommands.CloseCommand}" 
                    CommandParameter="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}}"
                    />
    </Window.InputBindings>
    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/Valg.EVA.Skanning.Assets;component/ResourceDictionaries/ResourceLibrary.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>
    <DockPanel Margin="30">
        <TextBlock DockPanel.Dock="Top" TextWrapping="NoWrap" VerticalAlignment="Center" FontSize="30" FontFamily="Arial" Text="{Binding VerifyLanguageString.AutoVerifyInfo_Title, FallbackValue='Automatisk verifisering av seddel'}" Margin="0,0,0,0"></TextBlock>
        <Grid DockPanel.Dock="Top" HorizontalAlignment="Stretch">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="120"></ColumnDefinition>
                <ColumnDefinition Width="300"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <Image Grid.Column="0" Stretch="None" Source="/Valg.EVA.Skanning.Assets;component/Images/AutoVerifyInfo.png" Margin="0,10,10,0"/>
            <TextBlock Grid.Column="1" FontStyle="Italic" FontSize="14" TextWrapping="WrapWithOverflow" Margin="0,10,0,0" Text="{Binding VerifyLanguageString.AutoVerifyInfo_DescriptionText, FallbackValue='Det har blitt foretatt en automatisk verifisering på seddelen etter du valgte parti. Dette gjelder renummerering. Endringen(e) EVA Verifiser har gjort er markert med prikken(e), som illustrert på bildet til venstre ved kandidat 1 og 3. Den samme prikken er benyttet for endringer du som bruker selv utfører. Du må kvalitetssikre endringene EVA Verifiser har autogenerert og rette eventuelle mangler.'}" />
        </Grid>
        <Grid DockPanel.Dock="Bottom" HorizontalAlignment="Stretch">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*"></ColumnDefinition>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <CheckBox Grid.Column="0" HorizontalAlignment="Left" IsChecked="{Binding DontShowTipOnAutoVerify}" Content="{Binding VerifyLanguageString.AutoVerifyInfo_DontShowAgain, FallbackValue='Ikke vis denne meldingen igjen'}" VerticalAlignment="Center" Style="{StaticResource CheckBoxNormal}" TabIndex="1" />
            <Button Grid.Column="1" HorizontalAlignment="Right" Style="{StaticResource BlueButton}" MinWidth="115" Height="49px" 
                    Command="{x:Static commands:WellKnownSystemCommands.CloseCommand}" 
                    CommandParameter="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}}"
                    TabIndex="0" Name="OkButton"
                    Margin="0,0,40,0"
                    userInterfaceElements:FocusExtension.IsFocused="{Binding IsOkButtonFocused}"
                    Content="{Binding VerifyLanguageString.BallotComplete_CloseButton, FallbackValue='Lukk'}">
            </Button>
        </Grid>
    </DockPanel>
</Window>
