|
<UserControl x:Class="MediaAssistant.Controls.WaitScreen.WaitScreenView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:Converters="clr-namespace:MediaAssistant.Converters" IsVisibleChanged="HandleVisibleChanged"
Height="Auto" Width="Auto" BorderThickness="0">
<UserControl.Resources>
<Converters:InverseVisibilityConverter x:Key="InverseVisibilityConverter" />
</UserControl.Resources>
<StackPanel x:Name="LayoutRoot" Background="Transparent"
Orientation="Vertical"
HorizontalAlignment="Center"
VerticalAlignment="Center">
<Canvas RenderTransformOrigin="0.5,0.5"
HorizontalAlignment="Center"
VerticalAlignment="Center" Width="48"
Height="48" Loaded="HandleLoaded"
Unloaded="HandleUnloaded" >
<Ellipse x:Name="C0" Width="8" Height="8"
Canvas.Left="0"
Canvas.Top="0" Stretch="Fill"
Fill="Black" Opacity="1.0"/>
<Ellipse x:Name="C1" Width="8" Height="8"
Canvas.Left="0"
Canvas.Top="0" Stretch="Fill"
Fill="Black" Opacity="0.9"/>
<Ellipse x:Name="C2" Width="8" Height="8"
Canvas.Left="0"
Canvas.Top="0" Stretch="Fill"
Fill="Black" Opacity="0.8"/>
<Ellipse x:Name="C3" Width="8" Height="8"
Canvas.Left="0"
Canvas.Top="0" Stretch="Fill"
Fill="Black" Opacity="0.7"/>
<Ellipse x:Name="C4" Width="8" Height="8"
Canvas.Left="0"
Canvas.Top="0" Stretch="Fill"
Fill="Black" Opacity="0.6"/>
<Ellipse x:Name="C5" Width="8" Height="8"
Canvas.Left="0"
Canvas.Top="0" Stretch="Fill"
Fill="Black" Opacity="0.5"/>
<Ellipse x:Name="C6" Width="8" Height="8"
Canvas.Left="0"
Canvas.Top="0" Stretch="Fill"
Fill="Black" Opacity="0.4"/>
<Ellipse x:Name="C7" Width="8" Height="8"
Canvas.Left="0"
Canvas.Top="0" Stretch="Fill"
Fill="Black" Opacity="0.3"/>
<Ellipse x:Name="C8" Width="8" Height="8"
Canvas.Left="0"
Canvas.Top="0" Stretch="Fill"
Fill="Black" Opacity="0.2"/>
<Canvas.RenderTransform>
<RotateTransform x:Name="SpinnerRotate"
Angle="0" />
</Canvas.RenderTransform>
</Canvas>
<Label Visibility="{Binding ProgressBarVisibility, Converter={StaticResource InverseVisibilityConverter}}" x:Name="MessageLabel" FontFamily="Tahoma" FontWeight="Bold" Foreground="#000000" FontSize="11px" Grid.Column="0" Grid.Row="1" Grid.ColumnSpan="3" Height="24" Margin="13,0,13,1" VerticalAlignment="Bottom" HorizontalContentAlignment="Center" Content="{Binding Message}"></Label>
<ProgressBar Margin="0,10,0,0" Visibility="{Binding ProgressBarVisibility}" Maximum="{Binding Maximum}" Minimum="{Binding Minimum}" Value="{Binding Value}" Width="100" Height="10"/>
</StackPanel>
</UserControl>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.