CompressProgressBarDialog.xaml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <UserControl x:Class="PDF_Master.Views.Dialog.ToolsDialogs.CompressDialogs.CompressProgressBarDialog"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:prism="http://prismlibrary.com/"
  7. prism:ViewModelLocator.AutoWireViewModel="True"
  8. prism:Dialog.WindowStyle="{StaticResource DialogWindowStyle}"
  9. d:DesignHeight="58"
  10. d:DesignWidth="226"
  11. Height="58"
  12. Width="226"
  13. mc:Ignorable="d"
  14. >
  15. <Grid Height="58" Width="226">
  16. <Border
  17. Width="226"
  18. Height="58"
  19. Background="{StaticResource color.sys.layout.dark.bg}"
  20. BorderThickness="0"
  21. CornerRadius="{StaticResource border-radius.8}"
  22. Effect="{StaticResource shadow.neutral.m}">
  23. <Grid Margin="16,13" Background="Transparent">
  24. <StackPanel Orientation="Horizontal">
  25. <TextBlock Foreground="{StaticResource color.sys.text.anti.norm}" Text="Compress "></TextBlock>
  26. <TextBlock Text="("></TextBlock>
  27. <TextBlock Text="{Binding PageIndex}"></TextBlock>
  28. <TextBlock Text="/"></TextBlock>
  29. <TextBlock Text="{Binding PageNumber}"></TextBlock>
  30. <TextBlock Text=")"></TextBlock>
  31. </StackPanel>
  32. <Button
  33. Width="12"
  34. Height="12"
  35. HorizontalAlignment="Right"
  36. VerticalAlignment="Top"
  37. BorderThickness="0"
  38. Background="{StaticResource color.sys.layout.dark.bg}"
  39. Padding="0,0,1,1"
  40. Command="{Binding CloseCompressCommand}"
  41. >
  42. <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="#CED0D4"/>
  43. </Button>
  44. <ProgressBar Minimum="0" Maximum="{Binding PageNumber}" Value="{Binding PageIndex}" Height="4" Width="194"
  45. BorderThickness="0"
  46. Margin="0,0,0,4" VerticalAlignment="Bottom"
  47. Foreground="{StaticResource color.slider.track-filled.norm}"/>
  48. </Grid>
  49. </Border>
  50. </Grid>
  51. </UserControl>