LinkAnnotTip.xaml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <UserControl
  2. x:Class="PDF_Office.Views.TipContent.LinkAnnotTip"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:PDF_Office.Views.TipContent"
  7. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8. xmlns:prism="http://prismlibrary.com/"
  9. prism:ViewModelLocator.AutoWireViewModel="True"
  10. xmlns:TipContent="clr-namespace:PDF_Office.ViewModels.TipContent"
  11. d:DataContext="{d:DesignInstance Type=TipContent:LinkAnnotTipViewModel}"
  12. d:DesignHeight="450"
  13. d:DesignWidth="800"
  14. mc:Ignorable="d">
  15. <Border
  16. Name="LinkAnnotTip1"
  17. Width="{Binding ElementName=PDFViewerContent, Path=Width}"
  18. Margin="0,0,17,0"
  19. HorizontalAlignment="Stretch"
  20. VerticalAlignment="Top"
  21. Background=" #BDDFFD"
  22. Visibility="{Binding LinkAnnotTipVisibility}">
  23. <WrapPanel Orientation="Horizontal">
  24. <Grid
  25. Width="16"
  26. Height="16"
  27. Margin="9,4">
  28. <Ellipse
  29. Width="16"
  30. Height="16"
  31. Fill="{StaticResource color.icon.base.state.info}" />
  32. <Path Data="M7.25 4V5.5H8.75L8.75 4H7.25ZM7.25 7V12H8.75V7H7.25Z" Fill="White" />
  33. </Grid>
  34. <TextBlock
  35. x:Name="DrawTipsText"
  36. Margin="0,4,12,4"
  37. Padding="4,2,4,2"
  38. FontSize="14"
  39. Foreground="#252629"
  40. Text="Please use the scroll bar, thumbnail tool to locate the target page, click or box the area to select the target range" />
  41. </WrapPanel>
  42. </Border>
  43. </UserControl>