CPDFAbstractInfoControl.xaml 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <UserControl x:Class="Compdfkit_Tools.PDFControl.CPDFAbstractInfoControl"
  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:common="clr-namespace:Compdfkit_Tools.Common"
  7. mc:Ignorable="d">
  8. <UserControl.Resources>
  9. <ResourceDictionary>
  10. <common:DocInfoResourceConverter x:Key="DocInfoResourceConverter"/>
  11. </ResourceDictionary>
  12. </UserControl.Resources>
  13. <GroupBox Header="{Binding Converter={StaticResource DocInfoResourceConverter},ConverterParameter=Subtitle_Abstract}">
  14. <StackPanel Orientation="Vertical" Margin="19,12,0,0">
  15. <StackPanel Orientation="Horizontal" Height="30">
  16. <TextBlock Text="{Binding Converter={StaticResource DocInfoResourceConverter},ConverterParameter=Info_FileName}"></TextBlock>
  17. <TextBlock x:Name="FileNameTextBlock" TextWrapping="NoWrap" Margin="4,0,0,0" Foreground="#999999"/>
  18. </StackPanel>
  19. <StackPanel Orientation="Horizontal" Height="30">
  20. <TextBlock Text="{Binding Converter={StaticResource DocInfoResourceConverter},ConverterParameter=Info_Size}"></TextBlock>
  21. <TextBlock x:Name="FileSizeTextBlock" Margin="4,0,0,0" Foreground="#999999"></TextBlock>
  22. </StackPanel>
  23. <StackPanel Orientation="Horizontal" Height="30">
  24. <TextBlock Text="{Binding Converter={StaticResource DocInfoResourceConverter},ConverterParameter=Info_Title}"></TextBlock>
  25. <TextBlock x:Name="TitleTextBlock" Margin="4,0,0,0" Foreground="#999999"></TextBlock>
  26. </StackPanel>
  27. <StackPanel Orientation="Horizontal" Height="30">
  28. <TextBlock Text="{Binding Converter={StaticResource DocInfoResourceConverter},ConverterParameter=Info_Author}"></TextBlock>
  29. <TextBlock x:Name="AuthorTextBlock" Margin="4,0,0,0" Foreground="#999999"></TextBlock>
  30. </StackPanel>
  31. <StackPanel Orientation="Horizontal" Height="30">
  32. <TextBlock Text="{Binding Converter={StaticResource DocInfoResourceConverter},ConverterParameter=Info_Subject}"></TextBlock>
  33. <TextBlock x:Name="SubjectTextBlock" Margin="4,0,0,0" Foreground="#999999"></TextBlock>
  34. </StackPanel>
  35. <StackPanel Orientation="Horizontal" Height="30">
  36. <TextBlock Text="{Binding Converter={StaticResource DocInfoResourceConverter},ConverterParameter=Info_Keywords}"></TextBlock>
  37. <TextBlock x:Name="KeywordTextBlock" Margin="4,0,0,0" Foreground="#999999"></TextBlock>
  38. </StackPanel>
  39. </StackPanel>
  40. </GroupBox>
  41. </UserControl>