PropertyPanelContent.xaml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <UserControl
  2. x:Class="PDF_Master.Views.PropertyPanel.PropertyPanelContent"
  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_Master.Views.PropertyPanel.AnnotPanel"
  6. xmlns:Convert="clr-namespace:PDF_Master.DataConvert"
  7. xmlns:PropertyPanel="clr-namespace:PDF_Master.ViewModels.PropertyPanel"
  8. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9. xmlns:local="clr-namespace:PDF_Master.Views.PropertyPanel"
  10. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11. xmlns:prism="http://prismlibrary.com/"
  12. d:DataContext="{d:DesignInstance Type=PropertyPanel:PropertyPanelContentViewModel}"
  13. d:DesignHeight="450"
  14. d:DesignWidth="800"
  15. prism:ViewModelLocator.AutoWireViewModel="True"
  16. Background="{StaticResource color.sys.layout.mg}"
  17. mc:Ignorable="d">
  18. <UserControl.Resources>
  19. <Convert:PropertyPanelVisible x:Key="PropertyPanelVisible" />
  20. </UserControl.Resources>
  21. <Grid VerticalAlignment="Stretch">
  22. <Grid>
  23. <StackPanel x:Name="NoStampStackPanel" VerticalAlignment="Center">
  24. <Image
  25. Width="128"
  26. Height="128"
  27. Source="pack://application:,,,/PDF Master;component/Resources/PropertyPanel/EmptyAnnot.png" />
  28. <TextBlock
  29. Width="128"
  30. HorizontalAlignment="Center"
  31. FontFamily="Segoe UI"
  32. FontSize="12"
  33. Foreground="#94989C"
  34. Text="Show/Hide Annotation Properties Panel"
  35. TextAlignment="Center"
  36. TextWrapping="Wrap" />
  37. </StackPanel>
  38. </Grid>
  39. </Grid>
  40. </UserControl>