12345678910111213141516171819202122232425262728293031 |
- <UserControl x:Class="UpgradePackageUploadTool.WaitingSpinner"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800">
- <Grid>
- <Grid.Resources>
- <SolidColorBrush Color="#FF007BE5" x:Key="ColorCircles" />
- </Grid.Resources>
- <Border x:Name="WaitingBackground" Background="LightGray" Opacity="0.3" />
- <Canvas x:Name="CanvasSpinner" HorizontalAlignment="Center" Width="100" Height="100" VerticalAlignment="Center" Loaded="OnCanvasLoaded" Unloaded="OnCanvasUnLoaded">
- <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>
- <TextBlock x:Name="ProgressTextBlock" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- </Grid>
- </UserControl>
|