CompareProgressControl.xaml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <UserControl x:Class="ComPDFKit.Controls.Comparison.CompareProgressControl"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:ComPDFKit.Controls.Comparison"
  7. mc:Ignorable="d"
  8. d:DesignHeight="300" d:DesignWidth="500">
  9. <Grid>
  10. <Grid x:Name="CompareProgressGrid">
  11. <Border VerticalAlignment="Center" HorizontalAlignment="Center" CornerRadius="5" Width="363" Height="91" BorderThickness="0.5" BorderBrush="Black" Background="#FCFDFF">
  12. <Border.Effect>
  13. <DropShadowEffect ShadowDepth="4" BlurRadius="10" Color="Black" Opacity="0.4"/>
  14. </Border.Effect>
  15. <Grid>
  16. <Grid.RowDefinitions>
  17. <RowDefinition Height="*"></RowDefinition>
  18. <RowDefinition Height="Auto"></RowDefinition>
  19. </Grid.RowDefinitions>
  20. <Button HorizontalAlignment="Right" Click="ButtonBase_OnClick" Margin="0,-12,8,0" Background="White" Width="16" Height="16" BorderThickness="0">
  21. <Path Fill="Black">
  22. <Path.Data>
  23. M5.69231 5L9.5 1.19231L8.80769 0.5L5 4.30769L1.19231 0.5L0.5 1.19231L4.30769 5L0.5 8.80769L1.19231 9.5L5 5.69231L8.80769 9.5L9.5 8.80769L5.69231 5Z
  24. </Path.Data>
  25. </Path>
  26. </Button>
  27. <TextBlock Grid.Row="0" FontSize="16" FontWeight="SemiBold" Margin="32,21,31,0" VerticalAlignment="Center" HorizontalAlignment="Left" FontFamily="Segoe UI" TextWrapping="WrapWithOverflow"
  28. Text="The Comparison Result is Coming Soon"></TextBlock>
  29. <StackPanel Grid.Row="1" Orientation="Horizontal" Margin="32,12,31,15">
  30. <ProgressBar x:Name="CompareProgressBar" Maximum="100" Width="261" Height="8" Foreground="#1460F3"></ProgressBar>
  31. <TextBlock Text="{Binding ElementName=CompareProgressBar, Path=Value}" Margin="12,0,0,0"></TextBlock>
  32. <TextBlock Text="%"></TextBlock>
  33. </StackPanel>
  34. </Grid>
  35. </Border>
  36. </Grid>
  37. </Grid>
  38. </UserControl>