PropertyPanelContent.xaml 2.4 KB

1234567891011121314151617181920212223242526272829303132
  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. mc:Ignorable="d"
  12. d:DesignHeight="450" d:DesignWidth="800">
  13. <UserControl.Resources>
  14. <Convert:PropertyPanelVisible x:Key="PropertyPanelVisible"/>
  15. </UserControl.Resources>
  16. <Grid >
  17. <Grid x:Name="GridAnnot">
  18. <AnnotPanel:TextAnnotProperty x:Name="textAnnotProperty" Visibility="{Binding AnnotPanelType,ConverterParameter=HighLight, Converter={StaticResource PropertyPanelVisible}}"/>
  19. <!--<AnnotPanel:FreetextAnnotProperty x:Name="freetextAnnotProperty" Visibility="{Binding AnnotPanelType,ConverterParameter=Freetext,Converter={StaticResource PropertyPanelVisible}}"/>
  20. <AnnotPanel:SharpsAnnotProperty x:Name="sharpsAnnotProperty" Visibility="{Binding AnnotPanelType,ConverterParameter=HighLight,Converter={StaticResource PropertyPanelVisible}}"/>
  21. <AnnotPanel:StampAnnotProperty x:Name="stampAnnotProperty" Visibility="{Binding AnnotPanelType,ConverterParameter=HighLight,Converter={StaticResource PropertyPanelVisible}}"/>
  22. <AnnotPanel:FreehandAnnotProperty x:Name="freehandAnnotProperty" Visibility="{Binding AnnotPanelType,ConverterParameter=HighLight,Converter={StaticResource PropertyPanelVisible}}"/>
  23. <AnnotPanel:ImageAnnotProperty x:Name="imageAnnotProperty" Visibility="{Binding AnnotPanelType,ConverterParameter=HighLight,Converter={StaticResource PropertyPanelVisible}}"/>
  24. <AnnotPanel:LinkAnnotProperty x:Name="linkAnnotProperty" Visibility="{Binding AnnotPanelType,ConverterParameter=HighLight,Converter={StaticResource PropertyPanelVisible}}"/>-->
  25. </Grid>
  26. <Grid>
  27. </Grid>
  28. </Grid>
  29. </UserControl>