12345678910111213141516171819202122232425262728293031 |
- <UserControl x:Class="AIPractice.LabellerServer.WPF.WaitingSpinner"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:AIPractice.LabellerServer.WPF"
- mc:Ignorable="d"
- d:DesignHeight="200" d:DesignWidth="200">
- <!--遮罩层-->
- <Grid x:Name="Overlay">
- <Grid.Resources>
- <SolidColorBrush Color="#FF007BE5" x:Key="ColorCircles"/>
- </Grid.Resources>
- <Canvas x:Name="Canvas_Spinner" HorizontalAlignment="Center" Width="150" Height="150" VerticalAlignment="Center" Loaded="Canvas_Loaded" Unloaded="Canvas_UnLoaded">
- <Ellipse x:Name="C0" Width="20" Height="20" Canvas.Left="0" Canvas.Top="0" Stretch="Fill" Fill="{StaticResource ColorCircles}" Opacity="1.0"/>
- <Ellipse x:Name="C1" Width="20" Height="20" Canvas.Left="0" Canvas.Top="0" Stretch="Fill" Fill="{StaticResource ColorCircles}" Opacity="1.0"/>
- <Ellipse x:Name="C2" Width="20" Height="20" Canvas.Left="0" Canvas.Top="0" Stretch="Fill" Fill="{StaticResource ColorCircles}" Opacity="1.0"/>
- <Ellipse x:Name="C3" Width="20" Height="20" Canvas.Left="0" Canvas.Top="0" Stretch="Fill" Fill="{StaticResource ColorCircles}" Opacity="1.0"/>
- <Ellipse x:Name="C4" Width="20" Height="20" Canvas.Left="0" Canvas.Top="0" Stretch="Fill" Fill="{StaticResource ColorCircles}" Opacity="1.0"/>
- <Ellipse x:Name="C5" Width="20" Height="20" Canvas.Left="0" Canvas.Top="0" Stretch="Fill" Fill="{StaticResource ColorCircles}" Opacity="1.0"/>
- <Ellipse x:Name="C6" Width="20" Height="20" Canvas.Left="0" Canvas.Top="0" Stretch="Fill" Fill="{StaticResource ColorCircles}" Opacity="1.0"/>
- <Ellipse x:Name="C7" Width="20" Height="20" Canvas.Left="0" Canvas.Top="0" Stretch="Fill" Fill="{StaticResource ColorCircles}" Opacity="1.0"/>
- <!--<Ellipse x:Name="C8" Width="20" Height="20" Canvas.Left="0" Canvas.Top="0" Stretch="Fill" Fill="{StaticResource ColorCircles}" Opacity="1.0"/>-->
- <Canvas.RenderTransform>
- <RotateTransform x:Name="SpinnerRotate" Angle="0"/>
- </Canvas.RenderTransform>
- </Canvas>
- </Grid>
- </UserControl>
|