<userInterfaceElements:EvaWindow x:Class="Valg.EVA.Skanning.JobManagement.Startup.UI.Counting.StartCountingPopupView"
        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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:counting="clr-namespace:Valg.EVA.Skanning.JobManagement.Startup.UI.Counting"
        xmlns:userInterfaceElements="clr-namespace:Valg.EVA.Skanning.UserInterfaceElements;assembly=Valg.EVA.Skanning.UserInterfaceElements"
        mc:Ignorable="d"
        Style="{DynamicResource PopUpWindowAction}"
        WindowStartupLocation="CenterOwner" 
        ShowInTaskbar="False" 
        d:DataContext="{d:DesignInstance d:Type=counting:StartCountingPopupViewModel}">
    <Window.Resources>
        <ResourceDictionary>
            <Style TargetType="Button" BasedOn="{StaticResource LinkButtonNormal}">
                <Setter Property="Margin" Value="0,0,0,5" />
            </Style>
        </ResourceDictionary>
    </Window.Resources>
    <StackPanel Margin="30" Height="auto" Width="200">
        <DockPanel Margin="0,0,0,20">
            <TextBlock Text="{Binding JobManagementLanguageString.StartCounting_PopupHeading}" HorizontalAlignment="Left" Style="{StaticResource TextBlockMediumHeader}" />
        </DockPanel>
        <Button Content="{Binding JobManagementLanguageString.StartCounting_PreliminaryCount_ButtonText}" Command="{Binding StartPreliminaryCountCommand}" Visibility="{Binding IsStartPreliminaryCountButtonVisible, Converter={StaticResource BooleanToVisibilityConverter}}"  />
        <Button Content="{Binding JobManagementLanguageString.StartCounting_FinalCount_ButtonText}" Command="{Binding StartFinalCountCommand}" />
        <Button Content="{Binding JobManagementLanguageString.StartCounting_Abort_ButtonText}" Margin="0,20,0,0" IsCancel="True" />
    </StackPanel>
</userInterfaceElements:EvaWindow>
