SignatureProperty.xaml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <UserControl x:Class="Compdfkit_Tools.PDFControl.SignatureProperty"
  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. Loaded="UserControl_Loaded"
  9. Unloaded="UserControl_Unloaded"
  10. >
  11. <UserControl.Resources>
  12. <ResourceDictionary>
  13. <ResourceDictionary.MergedDictionaries>
  14. <ResourceDictionary Source="../../Asset/Styles/ComboBoxStyle.xaml"></ResourceDictionary>
  15. </ResourceDictionary.MergedDictionaries>
  16. </ResourceDictionary>
  17. </UserControl.Resources>
  18. <Grid Background="White">
  19. <Grid.RowDefinitions>
  20. <RowDefinition Height="40"/>
  21. <RowDefinition Height="*"/>
  22. </Grid.RowDefinitions>
  23. <Border BorderThickness="0" BorderBrush="#1A000000">
  24. <Grid Height="40" Background="White" >
  25. <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="Signature" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
  26. </Grid>
  27. </Border>
  28. <Grid Grid.Row="1">
  29. <Grid.ColumnDefinitions>
  30. <ColumnDefinition Width="16"/>
  31. <ColumnDefinition Width="*"/>
  32. <ColumnDefinition Width="16"/>
  33. </Grid.ColumnDefinitions>
  34. <StackPanel Grid.Column="1">
  35. <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Form Field" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
  36. <ComboBox x:Name="FormFieldCombox" Margin="0,8,0,0" Style="{StaticResource ComboBoxStyle1}" SelectedIndex="0" SelectionChanged="FormFieldCombox_SelectionChanged">
  37. <ComboBoxItem Content="Visible"/>
  38. <ComboBoxItem Content="Hidden"/>
  39. <ComboBoxItem Content="Visible but doesn't print"/>
  40. <ComboBoxItem Content="Hidden but printable"/>
  41. </ComboBox>
  42. </StackPanel>
  43. </Grid>
  44. </Grid>
  45. </UserControl>