PropertyPanelContent.xaml 2.6 KB

12345678910111213141516171819202122232425262728293031323334
  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 x:Name="GridAnnot">
  20. <!--<AnnotPanel:TextAnnotProperty x:Name="textAnnotProperty" Visibility="{Binding AnnotPanelType,ConverterParameter=HighLight, Converter={StaticResource PropertyPanelVisible}}"/>-->
  21. <!--<AnnotPanel:FreetextAnnotProperty x:Name="freetextAnnotProperty" Visibility="{Binding AnnotPanelType,ConverterParameter=Freetext,Converter={StaticResource PropertyPanelVisible}}"/>
  22. <AnnotPanel:SharpsAnnotProperty x:Name="sharpsAnnotProperty" Visibility="{Binding AnnotPanelType,ConverterParameter=HighLight,Converter={StaticResource PropertyPanelVisible}}"/>
  23. <AnnotPanel:StampAnnotProperty x:Name="stampAnnotProperty" Visibility="{Binding AnnotPanelType,ConverterParameter=HighLight,Converter={StaticResource PropertyPanelVisible}}"/>
  24. <AnnotPanel:FreehandAnnotProperty x:Name="freehandAnnotProperty" Visibility="{Binding AnnotPanelType,ConverterParameter=HighLight,Converter={StaticResource PropertyPanelVisible}}"/>
  25. <AnnotPanel:ImageAnnotProperty x:Name="imageAnnotProperty" Visibility="{Binding AnnotPanelType,ConverterParameter=HighLight,Converter={StaticResource PropertyPanelVisible}}"/>
  26. <AnnotPanel:LinkAnnotProperty x:Name="linkAnnotProperty" Visibility="{Binding AnnotPanelType,ConverterParameter=HighLight,Converter={StaticResource PropertyPanelVisible}}"/>-->
  27. </Grid>
  28. <Grid>
  29. </Grid>
  30. </Grid>
  31. </UserControl>