<UserControl x:Class="Valg.EVA.Skanning.Verify.Startup.VerifyBallotPaper.PageXOfY.PageXOfYControl"
             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:pageXofY="clr-namespace:Valg.EVA.Skanning.Verify.Startup.VerifyBallotPaper.PageXOfY"
             mc:Ignorable="d"
             d:DataContext="{d:DesignInstance d:Type=pageXofY:PageXOfYViewModel}">
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/Valg.EVA.Skanning.Assets;component/ResourceDictionaries/ResourceLibrary.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>
    <StackPanel Orientation="Horizontal">
        <TextBlock Text="{Binding PageCounterText}" VerticalAlignment="Center" FontSize="16" Style="{StaticResource TextBlockNormal}" />
        <Button Style="{StaticResource BlueButtonPrevious}" Width="40" Height="40" Margin="10,10, 5, 10" Focusable="False"
                Command="{Binding AdvanceToPreviousPage}"
                IsEnabled="{Binding IsBackOnePageEnabled}"
                ToolTip="{Binding AdvanceToPreviousPageTooltip}">
        </Button>
        <Button Style="{StaticResource BlueButtonNext}" Width="40" Height="40"  Margin="5, 10, 0, 10" Focusable="False"
                Command="{Binding AdvanceToNextPage}"
                IsEnabled="{Binding IsForwardOnePageEnabled}" ToolTip="{Binding AdvanceToNextPageTooltip}">
        </Button>
    </StackPanel>
</UserControl>
