SummaryControl.xaml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <UserControl x:Class="Compdfkit_Tools.PDFControl.SummaryControl"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:Compdfkit_Tools.PDFControl"
  7. mc:Ignorable="d"
  8. d:DesignHeight="160" d:DesignWidth="600">
  9. <Grid>
  10. <Grid Background="#ffffff" Margin="20,0,0,0" Panel.ZIndex="1" Height="20" HorizontalAlignment="Left" VerticalAlignment="Top">
  11. <TextBlock Text="Summary" FontWeight="Bold" FontSize="16"></TextBlock>
  12. </Grid>
  13. <Border Margin="12" BorderBrush="#33000000" BorderThickness="1" >
  14. <ScrollViewer Margin="0,10,0,0" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto">
  15. <StackPanel VerticalAlignment="Center" Margin="20,0,0,0">
  16. <StackPanel Orientation="Horizontal" Margin="0,0,0,6">
  17. <TextBlock Text="Issued to: " Foreground="Black" FontSize="14"></TextBlock>
  18. <TextBlock Text="{Binding Award}" Foreground="#666" FontSize="14"></TextBlock>
  19. </StackPanel>
  20. <StackPanel Orientation="Horizontal" Margin="0,0,0,6">
  21. <TextBlock Text="Issuer: " Foreground="Black" FontSize="14"></TextBlock>
  22. <TextBlock Text="{Binding Grantor}" Foreground="#666" FontSize="14"></TextBlock>
  23. </StackPanel>
  24. <StackPanel Orientation="Horizontal" Margin="0,0,0,6">
  25. <TextBlock Text="Valid from: " Foreground="Black" FontSize="14"></TextBlock>
  26. <TextBlock Text="{Binding ValidityFrom}" Foreground="#666" FontSize="14"></TextBlock>
  27. </StackPanel>
  28. <StackPanel Orientation="Horizontal" Margin="0,0,0,6">
  29. <TextBlock Text="Valid to: " Foreground="Black" FontSize="14"></TextBlock>
  30. <TextBlock Text="{Binding ValidityTo}" Foreground="#666" FontSize="14"></TextBlock>
  31. </StackPanel>
  32. <StackPanel Orientation="Horizontal" Margin="0,0,0,6">
  33. <TextBlock Text="Intended Usage: " Foreground="Black" FontSize="14"></TextBlock>
  34. <TextBlock Text="{Binding IntendedUsage}" Foreground="#666" FontSize="14"></TextBlock>
  35. </StackPanel>
  36. </StackPanel>
  37. </ScrollViewer>
  38. </Border>
  39. </Grid>
  40. </UserControl>