CreateFromScannerDialogs.xaml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <UserControl
  2. x:Class="PDF_Master.Views.Dialog.HomePageToolsDialogs.CreateFromScannerDialogs"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7. xmlns:prism="http://prismlibrary.com/"
  8. Width="352"
  9. Height="560"
  10. prism:Dialog.WindowStyle="{StaticResource DialogWindowStyle}"
  11. prism:ViewModelLocator.AutoWireViewModel="True"
  12. Background="White"
  13. mc:Ignorable="d">
  14. <Grid Margin="16,0,16,0" Background="White">
  15. <Grid.RowDefinitions>
  16. <RowDefinition Height="48" />
  17. <RowDefinition />
  18. <RowDefinition Height="64" />
  19. </Grid.RowDefinitions>
  20. <TextBlock
  21. Height="24"
  22. HorizontalAlignment="Left"
  23. VerticalAlignment="Center"
  24. FontFamily="Segoe UI"
  25. FontSize="16"
  26. FontStyle="Normal"
  27. FontWeight="SemiBold"
  28. Text="Create PDF from scanner" />
  29. <Grid Grid.Row="1" Background="#F3F3F3">
  30. <StackPanel>
  31. <TextBlock
  32. Margin="8,0,0,0"
  33. FontFamily="Segoe UI"
  34. FontSize="14"
  35. LineHeight="22"
  36. Text="Scanners" />
  37. <ListBox
  38. Name="Listboxscan"
  39. Height="Auto"
  40. Margin="10,0,0,0"
  41. SelectedIndex="{Binding SeIndex, Mode=TwoWay}" />
  42. </StackPanel>
  43. </Grid>
  44. <Grid Grid.Row="2">
  45. <WrapPanel HorizontalAlignment="Right" VerticalAlignment="Center">
  46. <Button
  47. x:Name="But_Scan"
  48. Width="60"
  49. Height="32"
  50. HorizontalAlignment="Center"
  51. VerticalAlignment="Top"
  52. Command="{Binding ToScanCommand}"
  53. Content="Scan"
  54. IsDefault="True"
  55. Style="{StaticResource Btn.cta}" />
  56. <Button
  57. Width="60"
  58. Height="32"
  59. Margin="8,0,0,0"
  60. HorizontalAlignment="Center"
  61. VerticalAlignment="Top"
  62. IsCancel="True"
  63. Style="{StaticResource btn.sec}" Content="Cancel" />
  64. </WrapPanel>
  65. </Grid>
  66. </Grid>
  67. </UserControl>