NOInternetRegion.xaml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <UserControl
  2. x:Class="PDF_Office.Views.Dialog.ServiceDialog.NOInternetRegion"
  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:help="clr-namespace:PDF_Office.Helper"
  7. xmlns:local="clr-namespace:PDF_Office.Views.Dialog.ServiceDialog"
  8. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9. xmlns:prism="http://prismlibrary.com/"
  10. Width="326"
  11. Height="420"
  12. prism:ViewModelLocator.AutoWireViewModel="True"
  13. mc:Ignorable="d">
  14. <Grid Background="White">
  15. <Button
  16. Width="16"
  17. Height="16"
  18. Margin="287,17,0,0"
  19. HorizontalAlignment="Left"
  20. VerticalAlignment="Top"
  21. Background="Transparent"
  22. BorderThickness="0"
  23. Command="{Binding CloseDialogCommand}"
  24. WindowChrome.IsHitTestVisibleInChrome="True">
  25. <Polygon Fill="{StaticResource color.btn.sec.text.def}" Points="11.2919922 12 12 11.2919922 6.70800781 6 12 0.708007813 11.2919922 0 6 5.29199219 0.708007812 9.76996262e-15 -2.27456942e-13 0.708007813 5.29199219 6 0 11.2919922 0.708007812 12 6 6.70800781" />
  26. </Button>
  27. <Grid
  28. Margin="0,82,110,0"
  29. HorizontalAlignment="Right"
  30. VerticalAlignment="Top">
  31. <Border>
  32. <Path Data="M86.7574 97L83.7574 94H41V93.9233L37.9299 93.995C37.7871 93.9983 37.6438 94 37.5 94C27.3474 94 19 85.5588 19 75C19 65.0009 26.4938 56.892 35.9072 56.0693L37.6288 55.9188L38.3624 54.354C38.9563 53.0871 39.7275 51.9208 40.644 50.8866L38.5198 48.7625C37.3605 50.0438 36.3882 51.4975 35.646 53.0807C24.6399 54.0425 16 63.4888 16 75C16 86.9793 25.3569 96.7224 37.0001 96.9942C37.1663 96.998 37.3329 97 37.5 97C37.6671 97 37.8338 96.9981 38 96.9942V97H41H86.7574ZM43.2861 45.0435C45.7354 43.7392 48.5314 43 51.5 43C52.2165 43 52.923 43.0431 53.617 43.1267C58.2162 35.2739 66.7422 30 76.5 30C91.1355 30 103 41.8645 103 56.5C103 57.5543 102.938 58.5942 102.819 59.6164C110.979 61.7494 117 69.1715 117 78C117 88.158 109.029 96.4541 99 96.9741V97H98H96H95.2426L92.2426 94H98H98.4235L98.8447 93.9782C107.287 93.5404 114 86.5532 114 78C114 70.5696 108.932 64.3153 102.06 62.5189L99.5355 61.859L99.8391 59.2673C99.9453 58.3608 100 57.4374 100 56.5C100 43.5213 89.4787 33 76.5 33C67.8506 33 60.2888 37.6712 56.2057 44.6429L55.2113 46.3407L53.2578 46.1052C52.6828 46.0358 52.0962 46 51.5 46C49.3711 46 47.3484 46.4588 45.5262 47.2836L43.2861 45.0435Z" Fill="#CED0D4" />
  33. </Border>
  34. <Border>
  35. <Path
  36. Data="M25.9121 28.4126L102.912 105.413"
  37. Stroke="#BDDFFD"
  38. StrokeThickness="3" />
  39. </Border>
  40. </Grid>
  41. <Grid
  42. Width="262"
  43. Height="112"
  44. Margin="32,226,0,0"
  45. HorizontalAlignment="Left"
  46. VerticalAlignment="Top">
  47. <TextBlock
  48. HorizontalAlignment="Center"
  49. VerticalAlignment="Top"
  50. FontFamily="Segoe UI"
  51. FontSize="14"
  52. Foreground="#616469"
  53. LineHeight="22"
  54. Text="No network detected" />
  55. <TextBlock
  56. Width="262"
  57. Height="40"
  58. Margin="0,22,0,0"
  59. HorizontalAlignment="Left"
  60. VerticalAlignment="Top"
  61. FontFamily="Segoe UI"
  62. FontSize="14"
  63. Foreground="#94989C"
  64. LineHeight="22"
  65. Text="To access your files, please connect to the Internet and try again."
  66. TextAlignment="Center"
  67. TextWrapping="Wrap" />
  68. <Button
  69. Background="#273C62"
  70. Content="Retry"
  71. Command="{Binding RetryCommand}"
  72. Foreground="White"
  73. Width="65"
  74. Height="32"
  75. VerticalAlignment="Bottom" />
  76. </Grid>
  77. </Grid>
  78. </UserControl>