PropertyPanelContent.xaml 1.7 KB

12345678910111213141516171819202122232425262728293031
  1. <UserControl x:Class="PDF_Office.Views.PropertyPanel.PropertyPanelContent"
  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:PDF_Office.Views.PropertyPanel"
  7. xmlns:AnnotPanel="clr-namespace:PDF_Office.Views.PropertyPanel.AnnotPanel"
  8. xmlns:Convert="clr-namespace:PDF_Office.DataConvert"
  9. xmlns:prism="http://prismlibrary.com/"
  10. prism:ViewModelLocator.AutoWireViewModel="True"
  11. xmlns:PropertyPanel="clr-namespace:PDF_Office.ViewModels.PropertyPanel"
  12. d:DataContext="{d:DesignInstance Type=PropertyPanel:PropertyPanelContentViewModel}"
  13. mc:Ignorable="d"
  14. d:DesignHeight="450" d:DesignWidth="800">
  15. <UserControl.Resources>
  16. <Convert:PropertyPanelVisible x:Key="PropertyPanelVisible"/>
  17. </UserControl.Resources>
  18. <Grid VerticalAlignment="Stretch">
  19. <Grid>
  20. <StackPanel VerticalAlignment="Center" x:Name="NoStampStackPanel">
  21. <Image Width="128" Height="128" Source="pack://application:,,,/PDF Office;component/Resources/PropertyPanel/EmptyAnnot.png" />
  22. <TextBlock Width="128" FontSize="12" FontFamily="Segoe UI" TextWrapping="Wrap" Foreground="#94989C"
  23. Text="Show/Hide Annotation Properties Panel" TextAlignment="Center"
  24. HorizontalAlignment="Center"/>
  25. </StackPanel>
  26. </Grid>
  27. </Grid>
  28. </UserControl>