aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/FSE/Tango.FSE.UI/Views/LoadingView.xaml
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/FSE/Tango.FSE.UI/Views/LoadingView.xaml')
-rw-r--r--Software/Visual_Studio/FSE/Tango.FSE.UI/Views/LoadingView.xaml25
1 files changed, 23 insertions, 2 deletions
diff --git a/Software/Visual_Studio/FSE/Tango.FSE.UI/Views/LoadingView.xaml b/Software/Visual_Studio/FSE/Tango.FSE.UI/Views/LoadingView.xaml
index c29198f98..e7536ae42 100644
--- a/Software/Visual_Studio/FSE/Tango.FSE.UI/Views/LoadingView.xaml
+++ b/Software/Visual_Studio/FSE/Tango.FSE.UI/Views/LoadingView.xaml
@@ -9,9 +9,30 @@
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800" d:DataContext="{d:DesignInstance Type=vm:LoadingViewVM, IsDesignTimeCreatable=False}" DataContext="{x:Static global:ViewModelLocator.LoadingViewVM}" Background="{StaticResource FSE_PrimaryBackgroundBrush}" Foreground="{StaticResource FSE_PrimaryForegroundBrush}">
<Grid>
- <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
+ <Image Source="/Images/Abstracts/abstract2.png" RenderTransformOrigin="0.5,0.5" Height="350" HorizontalAlignment="Left" Stretch="UniformToFill" Width="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=ActualWidth,Converter={StaticResource MathOperatorConverter},ConverterParameter='+100'}" RenderOptions.BitmapScalingMode="Fant" VerticalAlignment="Bottom">
+ <Image.Style>
+ <Style TargetType="Image">
+ <Setter Property="Margin" Value="0 0 0 0"></Setter>
+ <Setter Property="Opacity" Value="0.8"></Setter>
+ <Style.Triggers>
+ <DataTrigger Binding="{Binding IsLoading}" Value="True">
+ <DataTrigger.EnterActions>
+ <BeginStoryboard>
+ <Storyboard>
+ <ThicknessAnimation Storyboard.TargetProperty="Margin" To="-100 0 0 0" Duration="00:00:05" />
+ <DoubleAnimation Storyboard.TargetProperty="Opacity" To="0.2" Duration="00:00:05" />
+ </Storyboard>
+ </BeginStoryboard>
+ </DataTrigger.EnterActions>
+ </DataTrigger>
+ </Style.Triggers>
+ </Style>
+ </Image.Style>
+ </Image>
+ <Image Source="{StaticResource FSE_Twine_Logo}" HorizontalAlignment="Left" VerticalAlignment="Top" RenderOptions.BitmapScalingMode="Fant" Stretch="Uniform" Margin="20" Width="300"></Image>
+ <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0 -100 0 0">
<ProgressBar Width="200" Height="200" HorizontalAlignment="Center" VerticalAlignment="Center" IsIndeterminate="{Binding IsLoading}" Style="{StaticResource MaterialDesignCircularProgressBar}" Value="0" />
- <TextBlock FontSize="30" Margin="0 30 0 0">Loading, please wait...</TextBlock>
+ <TextBlock FontSize="20" Margin="0 30 0 0">Loading, please wait...</TextBlock>
</StackPanel>
</Grid>
</UserControl>