<UserControl x:Class="Compdfkit_Tools.PDFControl.SummaryControl"
             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:Compdfkit_Tools.PDFControl"
             mc:Ignorable="d" 
             d:DesignHeight="160" d:DesignWidth="600">
    <Grid>
        <Grid Background="#ffffff"  Margin="20,0,0,0"  Panel.ZIndex="1" Height="20" HorizontalAlignment="Left" VerticalAlignment="Top">
            <TextBlock Text="Summary" FontWeight="Bold" FontSize="16"></TextBlock>
        </Grid>
        <Border Margin="12" BorderBrush="#33000000" BorderThickness="1" >
            <ScrollViewer Margin="0,10,0,0" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto">
                <StackPanel VerticalAlignment="Center" Margin="20,0,0,0">
                    <StackPanel Orientation="Horizontal" Margin="0,0,0,6">
                        <TextBlock Text="Issued to: " Foreground="Black"  FontSize="14"></TextBlock>
                        <TextBlock Text="{Binding Award}" Foreground="#666" FontSize="14"></TextBlock>
                    </StackPanel>

                    <StackPanel Orientation="Horizontal" Margin="0,0,0,6">
                        <TextBlock Text="Issuer: " Foreground="Black"  FontSize="14"></TextBlock>
                        <TextBlock Text="{Binding Grantor}" Foreground="#666"  FontSize="14"></TextBlock>
                    </StackPanel>

                    <StackPanel Orientation="Horizontal" Margin="0,0,0,6">
                        <TextBlock Text="Valid from: " Foreground="Black"  FontSize="14"></TextBlock>
                        <TextBlock Text="{Binding ValidityFrom}" Foreground="#666"  FontSize="14"></TextBlock>
                    </StackPanel>
                    
                    <StackPanel Orientation="Horizontal" Margin="0,0,0,6">
                        <TextBlock Text="Valid to: " Foreground="Black"  FontSize="14"></TextBlock>
                        <TextBlock Text="{Binding ValidityTo}" Foreground="#666"  FontSize="14"></TextBlock>
                    </StackPanel>

                    <StackPanel Orientation="Horizontal" Margin="0,0,0,6">
                        <TextBlock Text="Intended Usage: " Foreground="Black"  FontSize="14"></TextBlock>
                        <TextBlock Text="{Binding IntendedUsage}" Foreground="#666"  FontSize="14"></TextBlock>
                    </StackPanel>
                </StackPanel>
            </ScrollViewer>
        </Border>
    </Grid>
</UserControl>
