CPDFSecurityInfoControl.xaml 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <UserControl x:Class="ComPDFKit.Controls.PDFControl.CPDFSecurityInfoControl"
  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"></common:DocInfoResourceConverter>
  11. </ResourceDictionary>
  12. </UserControl.Resources>
  13. <GroupBox Header="{Binding Converter={StaticResource DocInfoResourceConverter},ConverterParameter=Subtitle_Permissions}">
  14. <StackPanel Orientation="Vertical" Margin="19,12,0,0">
  15. <StackPanel Orientation="Horizontal" Height="30">
  16. <TextBlock Text="{Binding Converter={StaticResource DocInfoResourceConverter},ConverterParameter=Info_Print}"></TextBlock>
  17. <TextBlock x:Name="AllowsPrintingTextBlock" 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_Copy}" ></TextBlock>
  21. <TextBlock x:Name="AllowsCopyingTextBlock" 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_Mod}"></TextBlock>
  25. <TextBlock x:Name="AllowsDocumentChangesTextBlock" 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_Assembly}"></TextBlock>
  29. <TextBlock x:Name="AllowsDocumentAssemblyTextBlock" 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_Comment}"></TextBlock>
  33. <TextBlock x:Name="AllowsCommentingTextBlock" 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_Form}"></TextBlock>
  37. <TextBlock x:Name="AllowsFormFieldEntryTextBlock" Margin="4,0,0,0" Foreground="#999999"></TextBlock>
  38. </StackPanel>
  39. </StackPanel>
  40. </GroupBox>
  41. </UserControl>