<UserControl x:Class="Valg.EVA.Skanning.JobManagement.Startup.UI.Duplicates.BoxesSummaryView"
             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:duplicates="clr-namespace:Valg.EVA.Skanning.JobManagement.Startup.UI.Duplicates"
             mc:Ignorable="d" 
             d:DataContext="{d:DesignInstance d:Type=duplicates:BoxesSummaryViewModel}"
             d:DesignHeight="300" d:DesignWidth="300">
    <ItemsControl ItemsSource="{Binding Boxes}">
        <ItemsControl.Resources>
            <Style TargetType="Button" BasedOn="{StaticResource LinkButtonNormal}"/>
        </ItemsControl.Resources>
        <ItemsControl.ItemTemplate>
            <DataTemplate>
                <StackPanel Margin="0, 0, 0, 10">
                    <StackPanel>
                        <TextBlock Style="{StaticResource TextBlockNormal}" Text="{Binding Name}" FontWeight="Bold" />
                        <StackPanel Orientation="Horizontal">
                            <TextBlock Style="{StaticResource TextBlockNormal}" Text="{Binding BoxDuplicateDescription}" />
                        </StackPanel>
                    </StackPanel>
                </StackPanel>
            </DataTemplate>
        </ItemsControl.ItemTemplate>
    </ItemsControl>
</UserControl>
