|
@@ -10,25 +10,29 @@
|
|
|
|
|
|
<Grid>
|
|
|
<Grid.RowDefinitions>
|
|
|
+ <RowDefinition Height="auto"/>
|
|
|
<RowDefinition Height="auto"/>
|
|
|
<RowDefinition Height="*"/>
|
|
|
</Grid.RowDefinitions>
|
|
|
+ <TextBlock Grid.Row="0" Style="{StaticResource TitleTextBlockStyle}" Text="备份" Margin="36,40,0,0"/>
|
|
|
|
|
|
- <CommandBar Grid.Row="0" Background="Transparent" IsOpen="False" Margin="48,16,48,0" DefaultLabelPosition="Right">
|
|
|
+ <CommandBar Grid.Row="1" Background="Transparent" IsOpen="False" Margin="36,0,36,0" DefaultLabelPosition="Right">
|
|
|
<AppBarButton Icon="NewFolder" Label="新建还原点" Click="AppBarButton_Click_2"/>
|
|
|
<AppBarButton x:Name="BDel" Icon="Delete" Label="删除还原点" IsEnabled="False" Click="BDel_Click"/>
|
|
|
<AppBarButton x:Name="BAllDel" Icon="SelectAll" Label="清空还原点" Click="BAllDel_Click"/>
|
|
|
<AppBarButton Icon="Refresh" Label="刷新" Click="AppBarButton_Click"/>
|
|
|
</CommandBar>
|
|
|
- <ListView x:Name="BackupFilesListView" Grid.Row="1" Margin="48,16,48,0" SelectionChanged="BackupFilesListView_SelectionChanged">
|
|
|
- <ListView.ItemTemplate>
|
|
|
- <DataTemplate>
|
|
|
- <StackPanel>
|
|
|
- <TextBlock Text="{Binding FileName}" Style="{StaticResource BodyTextBlockStyle}"/>
|
|
|
- <TextBlock Text="{Binding FileSize}" Style="{StaticResource CaptionTextBlockStyle}"/>
|
|
|
- </StackPanel>
|
|
|
- </DataTemplate>
|
|
|
- </ListView.ItemTemplate>
|
|
|
- </ListView>
|
|
|
+ <Grid Grid.Row="2" Background="{ThemeResource CardBackgroundFillColorDefaultBrush}" Margin="36,16,36,16" BorderThickness="1" CornerRadius="{StaticResource ControlCornerRadius}" BorderBrush="{ThemeResource CardStrokeColorDefaultBrush}">
|
|
|
+ <ListView x:Name="BackupFilesListView" Grid.Row="2" SelectionChanged="BackupFilesListView_SelectionChanged">
|
|
|
+ <ListView.ItemTemplate>
|
|
|
+ <DataTemplate>
|
|
|
+ <StackPanel>
|
|
|
+ <TextBlock Text="{Binding FileName}" Style="{StaticResource BodyTextBlockStyle}"/>
|
|
|
+ <TextBlock Text="{Binding FileSize}" Style="{StaticResource CaptionTextBlockStyle}"/>
|
|
|
+ </StackPanel>
|
|
|
+ </DataTemplate>
|
|
|
+ </ListView.ItemTemplate>
|
|
|
+ </ListView>
|
|
|
+ </Grid>
|
|
|
</Grid>
|
|
|
</Page>
|