SetPasswordSuccessfullyTip.xaml 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <UserControl x:Class="PDF_Master.Views.TipContent.SetPasswordSuccessfullyTip"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:prism="http://prismlibrary.com/"
  5. prism:ViewModelLocator.AutoWireViewModel="True"
  6. Height="176" Width="379">
  7. <Border CornerRadius="8" Background="{StaticResource color.sys.layout.state.note}">
  8. <Grid Margin="16">
  9. <Grid.RowDefinitions>
  10. <RowDefinition Height="24"></RowDefinition>
  11. <RowDefinition Height="72"></RowDefinition>
  12. <RowDefinition Height="48"></RowDefinition>
  13. </Grid.RowDefinitions>
  14. <Grid>
  15. <Grid.ColumnDefinitions>
  16. <ColumnDefinition></ColumnDefinition>
  17. <ColumnDefinition Width="24"></ColumnDefinition>
  18. </Grid.ColumnDefinitions>
  19. <StackPanel Orientation="Horizontal">
  20. <Grid>
  21. <Ellipse Height="20" Width="20" Fill="#1AD598" Margin="2"></Ellipse>
  22. <Path Fill="White" Data="M18.7527 7.99163L11.1738 16.6583C10.9906 16.8677 10.7285 16.9914 10.4504 16.9996C10.1722 17.0077 9.90329 16.8997 9.70816 16.7013L5.28711 12.2075L6.71282 10.8049L10.3779 14.5303L17.2472 6.67505L18.7527 7.99163Z"></Path>
  23. </Grid>
  24. <TextBlock Text="Set password successfully" FontSize="14" VerticalAlignment="Center" FontFamily="Segoe UI" FontWeight="Medium" ></TextBlock>
  25. </StackPanel>
  26. <Button Background="Transparent" BorderBrush="Transparent" Grid.Column="1" VerticalAlignment="Top" HorizontalAlignment="Right" Command="{Binding CloseTipCommand}">
  27. <Path Data="M6.00006 7.06066L9.46973 10.5303L10.5304 9.46967L7.06072 6L10.5304 2.53033L9.46973 1.46967L6.00006 4.93934L2.53039 1.46967L1.46973 2.53033L4.9394 6L1.46973 9.46967L2.53039 10.5303L6.00006 7.06066Z" Fill="#94989C"></Path>
  28. </Button>
  29. </Grid>
  30. <TextBlock Grid.Row="1" TextWrapping="Wrap" Text="The security settings do not take effect until the document is saved. You can change the security settings before closing the file." Foreground="{StaticResource color.sys.text.neutral.lv2}" Margin="32,8,16,0" FontFamily="Segoe UI" FontSize="14"></TextBlock>
  31. <Button Grid.Row="2" Height="32" Width="67" HorizontalAlignment="Right" VerticalAlignment="Bottom" Background="Transparent" BorderThickness="1" Command="{Binding CloseTipCommand}">
  32. <TextBlock Text="Got it" FontSize="14"></TextBlock>
  33. </Button>
  34. </Grid>
  35. </Border>
  36. </UserControl>