blob: 7785c1c0f4da5be3a446d7c31c5c21f40c2654c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
<UserControl x:Class="Tango.PPC.BackupRestore.Views.BackupProgressView"
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:touch="clr-namespace:Tango.Touch.Controls;assembly=Tango.Touch"
xmlns:vm="clr-namespace:Tango.PPC.BackupRestore.ViewModels"
xmlns:controls="clr-namespace:Tango.SharedUI.Controls;assembly=Tango.SharedUI"
xmlns:global="clr-namespace:Tango.PPC.BackupRestore"
xmlns:local="clr-namespace:Tango.PPC.BackupRestore.Views"
mc:Ignorable="d"
d:DesignHeight="700" d:DesignWidth="800" d:DataContext="{d:DesignInstance Type=vm:BackupViewVM, IsDesignTimeCreatable=False}" DataContext="{x:Static global:ViewModelLocator.BackupViewVM}">
<Grid Background="{StaticResource TangoPrimaryBackgroundBrush}">
<DockPanel Margin="30 0 30 30">
<Grid DockPanel.Dock="Top">
<StackPanel>
<TextBlock TextWrapping="Wrap" FontSize="{StaticResource TangoDefaultFontSize}">
<Run FontSize="{StaticResource TangoTitleFontSize}">Backing up your system</Run>
<LineBreak/>
<LineBreak/>
<Run>This process may take several minutes, please wait.</Run>
</TextBlock>
</StackPanel>
</Grid>
<Grid>
<StackPanel VerticalAlignment="Center">
<TextBlock Text="{Binding CurrentBackupProgress.Stage,Converter={StaticResource EnumToDescriptionConverter},FallbackValue='Backing up data'}" HorizontalAlignment="Center" FontSize="{StaticResource TangoTitleFontSize}"></TextBlock>
<touch:TouchProgressBar Margin="0 20" Height="10" IsIndeterminate="{Binding CurrentBackupProgress.IsIntermediate}" Maximum="{Binding CurrentBackupProgress.MaxProgress}" Value="{Binding CurrentBackupProgress.Progress,Mode=OneWay}" />
</StackPanel>
</Grid>
</DockPanel>
</Grid>
</UserControl>
|