diff options
| author | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2023-07-03 13:53:24 +0300 |
|---|---|---|
| committer | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2023-07-03 13:53:24 +0300 |
| commit | eb0a6807cf469d9d188002d7b117a0ede686043c (patch) | |
| tree | 26ff9517bef6190b10ec02bf138c1b491f5f53dd /Software/Visual_Studio/PPC/Tango.PPC.UI/Views/PowerOffView.xaml | |
| parent | 167252d9517377a4169cd389ca7187509b5a0c1d (diff) | |
| download | Tango-eb0a6807cf469d9d188002d7b117a0ede686043c.tar.gz Tango-eb0a6807cf469d9d188002d7b117a0ede686043c.zip | |
Power down progress bar
Related Work Items: #8639
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Views/PowerOffView.xaml')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.UI/Views/PowerOffView.xaml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/PowerOffView.xaml b/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/PowerOffView.xaml index 22952a827..6358f17de 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/PowerOffView.xaml +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/PowerOffView.xaml @@ -11,7 +11,12 @@ d:DesignHeight="1280" d:DesignWidth="800" Background="{StaticResource TangoPrimaryBackgroundBrush}" d:DataContext="{d:DesignInstance Type=vm:PowerOffViewVM, IsDesignTimeCreatable=False}" DataContext="{x:Static global:ViewModelLocator.PowerOffViewVM}"> <Grid> <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center"> - <touch:TouchGifAnimation Source="/Images/power_off_2.gif" EnableAnimation="{Binding IsVisible}" HorizontalAlignment="Center" /> + <Grid> + <touch:TouchGifAnimation Source="/Images/power_off_2.gif" EnableAnimation="{Binding IsVisible}" HorizontalAlignment="Center" /> + <TextBlock FontSize="{StaticResource TangoHeaderFontSize}" FontWeight="DemiBold" HorizontalAlignment="Center" Margin="0 50 0 0"> + <Run Text="{Binding Status.ProgressPercentage, TargetNullValue=0}"/>% + </TextBlock> + </Grid> <TextBlock HorizontalAlignment="Center" Margin="0 60 0 0" FontSize="{StaticResource TangoHeaderFontSize}">Machine is turning Off</TextBlock> <TextBlock HorizontalAlignment="Center" Margin="0 20 0 0" FontSize="{StaticResource TangoTitleFontSize}" Foreground="{StaticResource TangoGrayTextBrush}">Do not unplug machine while turning off</TextBlock> <touch:TouchButton Command="{Binding AbortCommand}" Style="{StaticResource TangoHollowButton}" Margin="0 100 0 0" HorizontalAlignment="Center" Width="200" Height="50">ABORT</touch:TouchButton> |
