|
@@ -18,37 +18,73 @@ |
18 |
18 |
|
</UserControl.Resources> |
19 |
19 |
|
|
20 |
20 |
|
<Grid HorizontalAlignment="Stretch"> |
|
21 |
+ |
|
21 |
22 |
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Stretch"> |
22 |
23 |
|
<AppBarButton x:Name="AddImagesButton" x:Uid="AddImagesButton" Icon="Add" Label="Aggiungi immagini" FontSize="18" Tapped="AddImagesButton_Tapped" Foreground="#FF2CDAFF" Style="{StaticResource AppBarButtonStyleStandard}" Width="75" /> |
23 |
|
- |
|
24 |
|
- |
<ListView x:Name="PreviewList" Margin="30,30,0,0" HorizontalAlignment="Stretch"> |
25 |
|
- |
<ListView.ItemsPanel> |
26 |
|
- |
<ItemsPanelTemplate> |
27 |
|
- |
<VariableSizedWrapGrid ItemHeight="100" MaximumRowsOrColumns="2" ItemWidth="100" Orientation="Horizontal" ></VariableSizedWrapGrid> |
28 |
|
- |
</ItemsPanelTemplate> |
29 |
|
- |
</ListView.ItemsPanel> |
30 |
|
- |
|
31 |
|
- |
<ListView.ItemTemplate> |
32 |
|
- |
<DataTemplate> |
33 |
|
- |
<Grid> |
34 |
|
- |
<Grid.RowDefinitions> |
35 |
|
- |
<RowDefinition Height="20"></RowDefinition> |
36 |
|
- |
<RowDefinition Height="80"></RowDefinition> |
37 |
|
- |
</Grid.RowDefinitions> |
38 |
|
- |
<Grid.ColumnDefinitions> |
39 |
|
- |
<ColumnDefinition Width="20"></ColumnDefinition> |
40 |
|
- |
<ColumnDefinition Width="80"></ColumnDefinition> |
41 |
|
- |
|
42 |
|
- |
</Grid.ColumnDefinitions> |
43 |
|
- |
<Image Source="{Binding Path}" Width="80" Grid.Row="1" Grid.Column="1" VerticalAlignment="Top" HorizontalAlignment="Left" FlyoutBase.AttachedFlyout="{StaticResource ImagePreviewFlyout2}" Tapped="Image_Tapped"/> |
44 |
|
- |
<AppBarButton HorizontalAlignment="Left" Icon="Cancel" Label="" VerticalAlignment="Top" Tapped="AppBarButton_Tapped" Style="{StaticResource AppBarButtonStyleStandard}" Height="30" Foreground="#FF564966" Margin="7,7,7,0" Grid.ColumnSpan="2" Grid.RowSpan="2" Width="30" /> |
45 |
|
- |
</Grid> |
46 |
|
- |
</DataTemplate> |
47 |
|
- |
|
48 |
|
- |
</ListView.ItemTemplate> |
49 |
|
- |
|
50 |
|
- |
</ListView> |
51 |
|
- |
|
|
24 |
+ |
<ScrollViewer ScrollViewer.HorizontalScrollBarVisibility="Auto" Margin="30,10,0,0" MaxWidth="240"> |
|
25 |
+ |
<StackPanel Orientation="Horizontal"> |
|
26 |
+ |
<GridView x:Name="InitialPreviewList" HorizontalAlignment="Stretch"> |
|
27 |
+ |
<GridView.ItemsPanel> |
|
28 |
+ |
<ItemsPanelTemplate> |
|
29 |
+ |
<VariableSizedWrapGrid ItemHeight="100" MaximumRowsOrColumns="2" ItemWidth="100" Orientation="Horizontal" ></VariableSizedWrapGrid> |
|
30 |
+ |
</ItemsPanelTemplate> |
|
31 |
+ |
</GridView.ItemsPanel> |
|
32 |
+ |
|
|
33 |
+ |
<GridView.ItemTemplate> |
|
34 |
+ |
<DataTemplate> |
|
35 |
+ |
<Grid> |
|
36 |
+ |
<Grid.RowDefinitions> |
|
37 |
+ |
<RowDefinition Height="20"></RowDefinition> |
|
38 |
+ |
<RowDefinition Height="80"></RowDefinition> |
|
39 |
+ |
</Grid.RowDefinitions> |
|
40 |
+ |
<Grid.ColumnDefinitions> |
|
41 |
+ |
<ColumnDefinition Width="20"></ColumnDefinition> |
|
42 |
+ |
<ColumnDefinition Width="80"></ColumnDefinition> |
|
43 |
+ |
|
|
44 |
+ |
</Grid.ColumnDefinitions> |
|
45 |
+ |
<Image Source="{Binding Path}" Width="80" Grid.Row="1" Grid.Column="1" VerticalAlignment="Top" HorizontalAlignment="Left" FlyoutBase.AttachedFlyout="{StaticResource ImagePreviewFlyout2}" Tapped="Image_Tapped"/> |
|
46 |
+ |
<AppBarButton HorizontalAlignment="Left" Icon="Cancel" Label="" VerticalAlignment="Top" Tapped="AppBarButton_Tapped2" Style="{StaticResource AppBarButtonStyleStandard}" Height="30" Foreground="#FF564966" Margin="7,7,7,0" Grid.ColumnSpan="2" Grid.RowSpan="2" Width="30" /> |
|
47 |
+ |
</Grid> |
|
48 |
+ |
</DataTemplate> |
|
49 |
+ |
|
|
50 |
+ |
</GridView.ItemTemplate> |
|
51 |
+ |
|
|
52 |
+ |
</GridView> |
|
53 |
+ |
|
|
54 |
+ |
<GridView x:Name="PreviewList" HorizontalAlignment="Stretch"> |
|
55 |
+ |
<GridView.ItemsPanel> |
|
56 |
+ |
<ItemsPanelTemplate> |
|
57 |
+ |
<VariableSizedWrapGrid ItemHeight="100" MaximumRowsOrColumns="2" ItemWidth="100" Orientation="Horizontal" ></VariableSizedWrapGrid> |
|
58 |
+ |
</ItemsPanelTemplate> |
|
59 |
+ |
</GridView.ItemsPanel> |
|
60 |
+ |
|
|
61 |
+ |
<GridView.ItemTemplate> |
|
62 |
+ |
<DataTemplate> |
|
63 |
+ |
<Grid> |
|
64 |
+ |
<Grid.RowDefinitions> |
|
65 |
+ |
<RowDefinition Height="20"></RowDefinition> |
|
66 |
+ |
<RowDefinition Height="80"></RowDefinition> |
|
67 |
+ |
</Grid.RowDefinitions> |
|
68 |
+ |
<Grid.ColumnDefinitions> |
|
69 |
+ |
<ColumnDefinition Width="20"></ColumnDefinition> |
|
70 |
+ |
<ColumnDefinition Width="80"></ColumnDefinition> |
|
71 |
+ |
|
|
72 |
+ |
</Grid.ColumnDefinitions> |
|
73 |
+ |
<Image Source="{Binding Path}" Width="80" Grid.Row="1" Grid.Column="1" VerticalAlignment="Top" HorizontalAlignment="Left" FlyoutBase.AttachedFlyout="{StaticResource ImagePreviewFlyout2}" Tapped="Image_Tapped"/> |
|
74 |
+ |
<AppBarButton HorizontalAlignment="Left" Icon="Cancel" Label="" VerticalAlignment="Top" Tapped="AppBarButton_Tapped" Style="{StaticResource AppBarButtonStyleStandard}" Height="30" Foreground="#FF564966" Margin="7,7,7,0" Grid.ColumnSpan="2" Grid.RowSpan="2" Width="30" /> |
|
75 |
+ |
</Grid> |
|
76 |
+ |
</DataTemplate> |
|
77 |
+ |
|
|
78 |
+ |
</GridView.ItemTemplate> |
|
79 |
+ |
|
|
80 |
+ |
</GridView> |
|
81 |
+ |
|
|
82 |
+ |
|
|
83 |
+ |
|
|
84 |
+ |
</StackPanel> |
|
85 |
+ |
|
|
86 |
+ |
</ScrollViewer> |
|
87 |
+ |
|
52 |
88 |
|
</StackPanel> |
53 |
89 |
|
|
54 |
90 |
|
|