|
48 | 48 | </VisualState>
|
49 | 49 | <VisualState x:Name="PointerOver">
|
50 | 50 | <VisualState.Setters>
|
51 |
| - |
| 51 | + |
52 | 52 | <Setter Target="ContentPresenter.BorderBrush" Value="Transparent"/>
|
53 | 53 | </VisualState.Setters>
|
54 | 54 | </VisualState>
|
55 | 55 | <VisualState x:Name="Pressed">
|
56 | 56 |
|
57 | 57 | <Storyboard>
|
58 |
| - |
| 58 | + |
59 | 59 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="BorderBrush">
|
60 | 60 | <DiscreteObjectKeyFrame KeyTime="0" Value="Transparent"/>
|
61 | 61 | </ObjectAnimationUsingKeyFrames>
|
62 |
| - |
| 62 | + |
63 | 63 | <PointerDownThemeAnimation Storyboard.TargetName="RootGrid"/>
|
64 | 64 | </Storyboard>
|
65 | 65 | </VisualState>
|
|
378 | 378 | </Page.Resources>
|
379 | 379 |
|
380 | 380 | <Grid Padding="50,0,50,0" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
| 381 | + |
381 | 382 | <Grid.RowDefinitions>
|
382 | 383 | <RowDefinition Height="15*"/>
|
383 | 384 | <RowDefinition Height="Auto"/>
|
384 | 385 | <RowDefinition Height="55*"/>
|
385 | 386 | </Grid.RowDefinitions>
|
386 |
| - <TextBlock Padding="0,0,0,5" FontFamily="Segoe UI" FontSize="36" FontWeight="Bold" Text="Locations" VerticalAlignment="Bottom"/> |
387 |
| - <controls:AdaptiveGridView ItemContainerStyle="{StaticResource AdaptiveGridViewItemContainerStyle2}" ItemsSource="{x:Bind list:ItemLoader.itemsAdded}" Padding="0,0,10,0" OneRowModeEnabled="True" ItemHeight="200" DesiredWidth="200" VerticalAlignment="Stretch" Grid.Row="1" HorizontalAlignment="Stretch" Margin="0,0,0,0"> |
| 387 | + <TextBlock Padding="0,0,0,5" FontFamily="Segoe UI" FontSize="32" FontWeight="Bold" Text="Locations" VerticalAlignment="Bottom" Grid.ColumnSpan="2" HorizontalAlignment="Stretch" Margin="50,0,50,0"/> |
| 388 | + <controls:AdaptiveGridView ItemContainerStyle="{StaticResource AdaptiveGridViewItemContainerStyle2}" ItemsSource="{x:Bind list:ItemLoader.itemsAdded}" Padding="0,0,10,0" OneRowModeEnabled="True" ItemHeight="210" DesiredWidth="175" Grid.Row="1" Margin="50,0,50,0" Grid.ColumnSpan="2"> |
388 | 389 | <controls:AdaptiveGridView.ItemTemplate>
|
389 | 390 | <DataTemplate>
|
390 |
| - <Button Style="{ThemeResource CardStyle}" Margin="0,0,0,0" Click="b1_Click" Background="{x:Null}" Padding="0,0,0,0"> |
| 391 | + <Button Style="{ThemeResource CardStyle}" Margin="0,0,0,0" Click="b1_Click" Background="{x:Null}" Padding="0,0,0,0"> |
| 392 | + |
| 393 | + <Grid Margin="2"> |
| 394 | + <StackPanel Orientation="Vertical"> |
| 395 | + |
| 396 | + |
| 397 | + <controls:DropShadowPanel OffsetX="7.50" OffsetY="7.50" Color="{Binding }" ShadowOpacity="0.15" BlurRadius="10" Height="175" Width="175"> |
| 398 | + <Rectangle Width="175" Height="175" RadiusX="10" RadiusY="10"> |
| 399 | + <Rectangle.Fill> |
| 400 | + <ImageBrush Stretch="UniformToFill" ImageSource="{Binding ImageSource}"/> |
| 401 | + </Rectangle.Fill> |
| 402 | + </Rectangle> |
| 403 | + </controls:DropShadowPanel> |
391 | 404 |
|
392 |
| - <Grid> |
393 |
| - <StackPanel Orientation="Vertical"> |
394 |
| - |
395 |
| - <Grid MaxHeight="175" CornerRadius="10" Canvas.ZIndex="3"> |
396 |
| - |
397 |
| - <Image Source="{Binding ImageSource}" Stretch="UniformToFill"/> |
398 |
| - |
399 |
| - </Grid> |
400 |
| - |
401 |
| - |
402 |
| - <TextBlock Text="{Binding Text}" Name="ItemLocationName" FontFamily="Segoe UI" FontWeight="Bold" FontSize="14" HorizontalAlignment="Left" /> |
| 405 | + |
| 406 | + |
| 407 | + <TextBlock Margin="0,5,0,0" Text="{Binding Text}" Name="ItemLocationName" FontFamily="Segoe UI" FontWeight="Bold" FontSize="14" HorizontalAlignment="Left" /> |
403 | 408 | </StackPanel>
|
404 | 409 | </Grid>
|
405 | 410 | </Button>
|
406 | 411 | </DataTemplate>
|
407 |
| - |
| 412 | + |
408 | 413 | </controls:AdaptiveGridView.ItemTemplate>
|
409 |
| - |
| 414 | + |
410 | 415 | </controls:AdaptiveGridView>
|
411 | 416 |
|
412 |
| - <ScrollViewer HorizontalScrollMode="Disabled" HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Auto" VerticalScrollMode="Auto" VerticalAlignment="Top" Grid.Row="2" HorizontalAlignment="Stretch" Margin="50,0,50,0"> |
413 |
| - <ListView Name="RecentsView" MinHeight="350" HorizontalAlignment="Stretch" Padding="0,50,0,0" > |
| 417 | + <Grid VerticalAlignment="Stretch" Grid.Row="2" HorizontalAlignment="Stretch" Margin="50,25,75,0"> |
| 418 | + <StackPanel> |
| 419 | + <TextBlock FontFamily="Segoe UI" FontWeight="Bold" FontSize="30" Text="Recent Files"/> |
| 420 | + <ScrollViewer HorizontalScrollMode="Disabled" HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Auto" VerticalScrollMode="Auto" > |
| 421 | + <ListView Name="RecentsView" MinHeight="400" HorizontalAlignment="Stretch" Padding="0,50,0,0" > |
414 | 422 | <ListView.Header>
|
415 | 423 | <TextBlock Text="No recent files" HorizontalAlignment="Center" FontSize="24"/>
|
416 | 424 | </ListView.Header>
|
417 | 425 | </ListView>
|
418 | 426 | </ScrollViewer>
|
419 |
| - |
| 427 | + </StackPanel> |
| 428 | + </Grid> |
420 | 429 |
|
421 | 430 |
|
422 | 431 |
|
|
0 commit comments