SplitScreenContent.xaml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <UserControl
  2. x:Class="PDF_Office.Views.PropertyPanel.ViewModular.SplitScreenContent"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:AnnotPanel="clr-namespace:PDF_Office.Views.PropertyPanel.AnnotPanel"
  6. xmlns:Convert="clr-namespace:PDF_Office.DataConvert"
  7. xmlns:ViewModular="clr-namespace:PDF_Office.ViewModels.PropertyPanel.ViewModular"
  8. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9. xmlns:local="clr-namespace:PDF_Office.Views.PropertyPanel.ViewModular"
  10. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11. xmlns:prism="http://prismlibrary.com/"
  12. Width="500"
  13. d:DataContext="{d:DesignInstance Type=ViewModular:SplitScreenContentViewModel}"
  14. d:DesignHeight="700"
  15. d:DesignWidth="500"
  16. prism:ViewModelLocator.AutoWireViewModel="True"
  17. mc:Ignorable="d">
  18. <Grid>
  19. <StackPanel
  20. HorizontalAlignment="Center"
  21. VerticalAlignment="Center"
  22. Orientation="Vertical">
  23. <Border BorderThickness="2" CornerRadius="4">
  24. <Border.BorderBrush>
  25. <VisualBrush>
  26. <VisualBrush.Visual>
  27. <Rectangle
  28. Width="{Binding RelativeSource={RelativeSource AncestorType={x:Type Border}}, Path=ActualWidth}"
  29. Height="{Binding RelativeSource={RelativeSource AncestorType={x:Type Border}}, Path=ActualHeight}"
  30. Stroke="Black"
  31. StrokeDashArray="4 3" />
  32. </VisualBrush.Visual>
  33. </VisualBrush>
  34. </Border.BorderBrush>
  35. <Button
  36. x:Name="BtnAddFiles"
  37. Width="124"
  38. Height="164"
  39. Background="Transparent"
  40. Style="{StaticResource btn.icon-fill}">
  41. <Button.Content>
  42. <Path Data="M13.3333 16.6667V30H16.6667V16.6667H30V13.3333H16.6667V0H13.3333V13.3333H0V16.6667H13.3333Z" Fill="#94989C" />
  43. </Button.Content>
  44. </Button>
  45. </Border>
  46. <Grid Margin="0,50,0,0">
  47. <Grid.ColumnDefinitions>
  48. <ColumnDefinition />
  49. <ColumnDefinition />
  50. </Grid.ColumnDefinitions>
  51. <Button
  52. Grid.Column="0"
  53. Margin="20,5"
  54. Background="White"
  55. Content="Select PDF"
  56. Foreground="#252629"
  57. Style="{StaticResource btn.link}" />
  58. <StackPanel
  59. Grid.Column="1"
  60. Background="Transparent"
  61. Orientation="Vertical">
  62. <Button
  63. x:Name="BtnSelectedFiles"
  64. Width="25"
  65. Height="25"
  66. Background="#EDEEF0"
  67. Style="{StaticResource btn.icon-fill}">
  68. <Button.Content>
  69. <Path Data="M6 7.56427L2.03039 3.59467L0.969727 4.65533L5.46967 9.15526C5.76256 9.44816 6.23743 9.44816 6.53033 9.15526L11.0303 4.65533L9.9696 3.59467L6 7.56427Z" Fill="#94989C" />
  70. </Button.Content>
  71. </Button>
  72. <ListBox x:Name="ListSelectedFiles" />
  73. </StackPanel>
  74. </Grid>
  75. </StackPanel>
  76. </Grid>
  77. </UserControl>