<UserControl x:Class="Valg.EVA.Skanning.Sample.Startup.Box.BallotPaperXOfYControl"
             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:local="clr-namespace:Valg.EVA.Skanning.Sample.Startup.Box"
             mc:Ignorable="d" 
             d:DesignHeight="450" d:DesignWidth="800">
    <Grid>
        <StackPanel Margin="0, 0, 0, 0" HorizontalAlignment="Center" Width="350">
            <StackPanel Orientation="Horizontal">
                <TextBlock VerticalAlignment="Center" Style="{StaticResource TextBlockNormal}" HorizontalAlignment="Center">
                    <TextBlock.Inlines>
                        <Run FontSize="30" Text="{Binding VerifyLanguageString.BallotPaperXOfY_PrefixText, Mode=OneWay}" />
                    </TextBlock.Inlines>
                </TextBlock>
                <ComboBox 
                    SelectedItem ="{Binding Current, Mode=TwoWay}" 
                    ItemsSource="{Binding Range}"
                    IsSynchronizedWithCurrentItem="True"
                    Style="{StaticResource ComboBoxNormal}"
                    FontSize="30"
                    Foreground="Black"
                    Width="100">
                </ComboBox>
                <TextBlock VerticalAlignment="Center" Style="{StaticResource TextBlockNormal}" HorizontalAlignment="Center">
                    <TextBlock.Inlines>
                        <Run FontSize="40" Text="{Binding VerifyLanguageString.BallotPaperXOfY_SeperatorText, Mode=OneWay}" />
                        <Run FontSize="40" Text="{Binding Total, Mode=OneWay}" />
                    </TextBlock.Inlines>
                </TextBlock>
            </StackPanel>
        </StackPanel>
    </Grid>
</UserControl>

