ConverterProgressBarDialog.xaml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <UserControl x:Class="PDF_Office.Views.Dialog.ConverterDialogs.ConverterProgressBarDialog"
  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. <Grid Height="58" Width="226">
  15. <Border
  16. Width="226"
  17. Height="58"
  18. Background="{StaticResource color.sys.layout.dark.bg}"
  19. BorderThickness="0"
  20. CornerRadius="{StaticResource border-radius.8}"
  21. Effect="{StaticResource shadow.neutral.m}">
  22. <Grid Margin="16,13" Background="Transparent">
  23. <StackPanel Orientation="Horizontal" >
  24. <TextBlock Text="Converte . . . "></TextBlock>
  25. </StackPanel>
  26. <Button
  27. Width="12"
  28. Height="12"
  29. HorizontalAlignment="Right"
  30. VerticalAlignment="Top"
  31. BorderThickness="0"
  32. Background="{StaticResource color.sys.layout.dark.bg}"
  33. Padding="0,0,1,1"
  34. Command="{Binding CloseCompressCommand}"
  35. >
  36. <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"/>
  37. </Button>
  38. <ProgressBar Minimum="0" Maximum="{Binding PageNumber}" Value="{Binding PageIndex}" Height="4" Width="194"
  39. BorderThickness="0"
  40. Margin="0,0,0,4" VerticalAlignment="Bottom"
  41. Foreground="{StaticResource color.slider.track-filled.norm}"/>
  42. </Grid>
  43. </Border>
  44. </Grid>
  45. </UserControl>