<UserControl x:Class="Valg.EVA.Skanning.Verify.Startup.StartPage.MiniBoxCountingInformationWithNoResources"
             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:startPage="clr-namespace:Valg.EVA.Skanning.Verify.Startup.StartPage"
             mc:Ignorable="d"
             d:DataContext="{d:DesignInstance d:Type=startPage:MiniBoxCountingInformationViewModel}">
    <UserControl.Resources><ResourceDictionary>
            <Style BasedOn="{StaticResource LinkButtonNormal}" TargetType="Button">
                <Setter Property="Margin" Value="0,0,20,0" />
            </Style>
            <Style x:Key="TextblockBaseStyle" TargetType="{x:Type TextBlock}">
                <Setter Property="FontFamily" Value="Arial" />
            </Style>
        </ResourceDictionary>
    </UserControl.Resources>
    <StackPanel Orientation="Vertical" Visibility="{Binding IsVisible, Converter={StaticResource BooleanToVisibilityConverter}}">
        <StackPanel.Resources>
            <Style x:Key="majorTextblocksStyle" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource TextblockBaseStyle}">
                <Setter Property="FontWeight" Value="Bold"/>
                <Setter Property="FontSize" Value="14"/>
            </Style>
        </StackPanel.Resources>

        <TextBlock Style="{StaticResource majorTextblocksStyle}" Text="{Binding VotingCategory}" />
        <StackPanel Orientation="Horizontal" Margin="0,5,0,0">
            <StackPanel.Resources>
                <Style x:Key="minorTextblocksStyle" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource TextblockBaseStyle}">
                    <Setter Property="Margin" Value="0,0,5,0" />
                    <Setter Property="FontSize" Value="12"/>
                </Style>
            </StackPanel.Resources>
            <TextBlock Style="{StaticResource minorTextblocksStyle}" Text="{Binding AreaDescription}" Visibility="{Binding ShowAreaDescription, Converter={StaticResource BooleanToVisibilityConverter}}" />
            <TextBlock Style="{StaticResource minorTextblocksStyle}" Text="|" Visibility="{Binding ShowAreaDescription, Converter={StaticResource BooleanToVisibilityConverter}}" />
            <TextBlock Style="{StaticResource minorTextblocksStyle}" Text="{Binding CountingDescription}" />
            <TextBlock Style="{StaticResource minorTextblocksStyle}" Text="|" />
            <TextBlock Style="{StaticResource minorTextblocksStyle}" Text="{Binding BoxDescription}" />
        </StackPanel>
    </StackPanel>
</UserControl>
