<Window x:Class="Valg.EVA.Skanning.Verify.Startup.VerifyBallotPaper.Messages.UnknownBallotInformationWindow"
        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:messages="clr-namespace:Valg.EVA.Skanning.Verify.Startup.VerifyBallotPaper.Messages"
        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"
        d:DataContext="{d:DesignInstance d:Type=messages:UnknownBallotInformationViewModel}"
        mc:Ignorable="d"
        ShowInTaskbar="False"
        WindowStartupLocation="CenterOwner"
        Style="{DynamicResource PopUpWindowInformation}">
    <Window.InputBindings>
        <KeyBinding Key="Escape"
                    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" Style="{StaticResource TextBlockLargeHeader}" VerticalAlignment="Center" Margin="0,0,0,30" Text="{Binding VerifyLanguageString.UnknownBallotPaperPopUpInformation_Title}" />
        <TextBlock MaxWidth="800" DockPanel.Dock="Top" Style="{StaticResource TextBlockNormal}" TextWrapping="Wrap" Margin="0,0,10,0" Text="{Binding VerifyLanguageString.UnknownBallotPaperPopUpInformation_Message}" />
        <Grid DockPanel.Dock="Bottom" HorizontalAlignment="Stretch" Margin="0,30,0,0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*" />
                <ColumnDefinition Width="Auto" />
            </Grid.ColumnDefinitions>
            <CheckBox Grid.Column="0" HorizontalAlignment="Left" IsChecked="{Binding DontShowUnknownBallotInformation}" Content="{Binding VerifyLanguageString.BallotComplete_DontShowAgain}" 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="10,0,0,0"
                    userInterfaceElements:FocusExtension.IsFocused="{Binding IsOkButtonFocused}"
                    Content="{Binding VerifyLanguageString.BallotComplete_CloseButton}">
            </Button>
        </Grid>
    </DockPanel>
</Window>
