CPDFAnnotationControl.xaml 1.3 KB

123456789101112131415161718192021
  1. <UserControl x:Class="ComPDFKit.Controls.PDFControl.CPDFAnnotationControl"
  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:ComPDFKit.Controls.PDFControlUI"
  7. xmlns:common="clr-namespace:ComPDFKit.Controls.Common"
  8. mc:Ignorable="d"
  9. Loaded="AnnotationControl_Loaded"
  10. Unloaded="AnnotationControl_Unloaded"
  11. d:DesignHeight="800" d:DesignWidth="300">
  12. <UserControl.Resources>
  13. <ResourceDictionary>
  14. <common:PropertyPanelResourceConverter x:Key="PropertyPanelResourceConverter"></common:PropertyPanelResourceConverter>
  15. </ResourceDictionary>
  16. </UserControl.Resources>
  17. <Grid>
  18. <Border x:Name="AnnotationPanelContainer" Background="#FAFCFF"></Border>
  19. <TextBlock x:Name="EmptyMessage" Text="{Binding Converter={StaticResource PropertyPanelResourceConverter},ConverterParameter=Text_EmptyPanel}" VerticalAlignment="Center" HorizontalAlignment="Center"></TextBlock>
  20. </Grid>
  21. </UserControl>