blob: 9aac37f7b124b770fea222fd6c1f8be54a04ab2c (
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
39
40
41
42
43
44
45
46
47
48
49
50
|
<UserControl x:Class="Tango.PPC.BackupRestore.Views.MainView"
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="1280" d:DesignWidth="800" d:DataContext="{d:DesignInstance Type=vm:MainViewVM, IsDesignTimeCreatable=False}" DataContext="{x:Static global:ViewModelLocator.MainViewVM}">
<touch:TouchKeyboardContainer Background="{StaticResource TangoPrimaryBackgroundBrush}">
<DockPanel>
<Grid DockPanel.Dock="Top">
<StackPanel DockPanel.Dock="Top" HorizontalAlignment="Center" Margin="0 20 0 0">
<Image Stretch="Fill" Width="700" >
<Image.Style>
<Style TargetType="{x:Type Image}">
<Setter Property="Source" Value="../Images/backup-restorex4.png"/>
<Style.Triggers>
<DataTrigger Binding="{Binding BuildProvider.IsEureka}" Value="false">
<Setter Property="Source" Value="/Images/backup-restore.png"/>
</DataTrigger>
</Style.Triggers>
</Style>
</Image.Style>
</Image>
</StackPanel>
</Grid>
<controls:NavigationControl x:Name="navigationControl" TransitionType="Slide" TransitionDuration="00:00:0.2" KeepElementsAttached="True" Margin="0 20 0 0" SelectedIndex="0">
<local:WelcomeView/>
<local:BackupView/>
<local:RestoreView/>
<local:BackupProgressView/>
<local:RestoreProgressView/>
<local:BackupErrorView/>
<local:RestoreErrorView/>
<local:BackupCompletedView/>
<local:RestoreCompletedView/>
</controls:NavigationControl>
</DockPanel>
</touch:TouchKeyboardContainer>
</UserControl>
|