CPDFCreateInfoControl.xaml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <UserControl x:Class="ComPDFKit.Controls.PDFControl.CPDFCreateInfoControl"
  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.Controls.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_CreationInfo}">
  14. <StackPanel Orientation="Vertical" Margin="19,12,0,0">
  15. <StackPanel Orientation="Horizontal" Height="30">
  16. <TextBlock Text="{Binding Converter={StaticResource DocInfoResourceConverter},ConverterParameter=Info_Version}"></TextBlock>
  17. <TextBlock x:Name="VersionTextBlock" Margin="4,0,0,0" Foreground="#999999"></TextBlock>
  18. </StackPanel>
  19. <StackPanel Orientation="Horizontal" Height="30">
  20. <TextBlock Text="{Binding Converter={StaticResource DocInfoResourceConverter},ConverterParameter=Info_Pages}"></TextBlock>
  21. <TextBlock x:Name="PageCountTextBlock" 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_Creator}"></TextBlock>
  25. <TextBlock x:Name="CreatorTextBlock" 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_CreationDate}"></TextBlock>
  29. <TextBlock x:Name="CreationDateTextBlock" 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_ModDate}"></TextBlock>
  33. <TextBlock x:Name="ModificationDateTextBlock" Margin="4,0,0,0" Foreground="#999999"></TextBlock>
  34. </StackPanel>
  35. </StackPanel>
  36. </GroupBox>
  37. </UserControl>