Skip to content

Commit 2069ca0

Browse files
authored
Merge pull request #46 from ATecSolution/master
Added a ReorderGridAnimation to the photos page.
2 parents 0769a03 + 0866e59 commit 2069ca0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Files UWP/PhotoAlbum.xaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
99
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
1010
xmlns:controls="using:Microsoft.Toolkit.Uwp.UI.Controls"
11+
xmlns:animations="using:Microsoft.Toolkit.Uwp.UI.Animations"
1112
mc:Ignorable="d"
1213
xmlns:navigation="using:Files.Navigation"
1314
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
@@ -340,7 +341,7 @@
340341
<ProgressBar IsIndeterminate="True" Visibility="{x:Bind local2:ItemViewModel.PVIS.isVisible, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Value="{x:Bind local2:ItemViewModel.PROGRESSPER.prog, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Stretch"/>
341342
</StackPanel>
342343

343-
<controls:AdaptiveGridView ShowsScrollingPlaceholders="True" Margin="24,0,24,0" Grid.Row="3" SelectionMode="Single" IsDoubleTapEnabled="True" IsRightTapEnabled="True" ItemsSource="{x:Bind local2:ItemViewModel.FilesAndFolders}" Name="FileList" Padding="0, 0, 0, 0" >
344+
<controls:AdaptiveGridView animations:ReorderGridAnimation.Duration="300" ShowsScrollingPlaceholders="True" Margin="24,0,24,0" Grid.Row="3" SelectionMode="Single" IsDoubleTapEnabled="True" IsRightTapEnabled="True" ItemsSource="{x:Bind local2:ItemViewModel.FilesAndFolders}" Name="FileList" Padding="0, 0, 0, 0" >
344345
<controls:AdaptiveGridView.Resources>
345346
<MenuFlyout x:Name="RightClickContextMenu" x:Key="RightClickFlyout">
346347
<MenuFlyout.Items>

0 commit comments

Comments
 (0)