MinProgressbarControl1.xaml 1.8 KB

1234567891011121314151617181920
  1. <UserControl x:Class="AIRS.usercontrol.MinProgressbarControl1"
  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:AIRS"
  7. mc:Ignorable="d"
  8. d:DesignHeight="30" d:DesignWidth="240">
  9. <Grid>
  10. <!--进度条-->
  11. <Canvas x:Name="canvas_changeMax" Background="#FF18253C" Visibility="Visible" Margin="0" Width="240" Height="30" MouseMove="Canvas_MouseMove" MouseLeave="Canvas_MouseLeave" ToolTip="最大化">
  12. <Label x:Name="minprogbar_num" Foreground="White" Width="50" Height="18" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" Canvas.Left="0" Canvas.Top="5" Content="100%" FontSize="7" Visibility="Hidden"></Label>
  13. <Label x:Name="minshow_num" Foreground="White" Width="240" Height="18" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" Canvas.Top="0" Content="(1000/1000)" FontSize="7" ></Label>
  14. <Viewbox Height="4" Canvas.Top="20" Margin="25,0,25,0">
  15. <ProgressBar x:Name="minprogbar" Height="4" Width="190" Maximum="100" Minimum="0" Value="0" HorizontalAlignment="Stretch" Canvas.Top="20" Style="{StaticResource ProgressBarStyle}"></ProgressBar>
  16. </Viewbox>
  17. <Label x:Name="minprogbar_msg" Foreground="White" Width="180" Height="16" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" Canvas.Left="0" Canvas.Top="54" Content="正在进行AI检测,请稍候..." FontSize="6" Visibility="Hidden"></Label>
  18. </Canvas>
  19. </Grid>
  20. </UserControl>