Nextrek
Diff Revisions
798
vs
799
for /Android/SmartCharging/SmartCharging_WP/SmartCharging/MultipleImagePicker.xaml
|
@@ -9,12 +9,18 @@ |
9 |
9 |
|
d:DesignHeight="300" |
10 |
10 |
|
d:DesignWidth="400"> |
11 |
11 |
|
<UserControl.Resources> |
12 |
|
- |
<Flyout x:Key="ImagePreviewFlyout2" Placement="Left" x:Name="ImagePreviewFlyout" FlyoutPresenterStyle="{StaticResource FlyoutPresenterStyleDefault}"> |
|
12 |
+ |
<Flyout x:Key="ImagePreviewFlyout2" Placement="Left" x:Name="ImagePreviewFlyout2" FlyoutPresenterStyle="{StaticResource FlyoutPresenterStyleDefault}"> |
13 |
13 |
|
<!-- The DataContext of the Image that the flyout is attached to must be the Image's Source. --> |
14 |
14 |
|
<Image Source="{Binding Path}" MaxHeight="400" MaxWidth="400" Stretch="Uniform" VerticalAlignment="Center" HorizontalAlignment="Center" Tapped="Image_Flyout_Tapped" /> |
15 |
15 |
|
|
16 |
16 |
|
</Flyout> |
17 |
17 |
|
|
|
18 |
+ |
<Flyout x:Key="ImagePreviewFlyout3" Placement="Left" x:Name="ImagePreviewFlyout3" FlyoutPresenterStyle="{StaticResource FlyoutPresenterStyleDefault}"> |
|
19 |
+ |
<!-- The DataContext of the Image that the flyout is attached to must be the Image's Source. --> |
|
20 |
+ |
<Image Source="{Binding}" MaxHeight="400" MaxWidth="400" Stretch="Uniform" VerticalAlignment="Center" HorizontalAlignment="Center" Tapped="Image_Flyout_Tapped" /> |
|
21 |
+ |
|
|
22 |
+ |
</Flyout> |
|
23 |
+ |
|
18 |
24 |
|
</UserControl.Resources> |
19 |
25 |
|
|
20 |
26 |
|
<Grid HorizontalAlignment="Stretch"> |
|
@@ -42,7 +48,7 @@ |
42 |
48 |
|
<ColumnDefinition Width="80"></ColumnDefinition> |
43 |
49 |
|
|
44 |
50 |
|
</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"/> |
|
51 |
+ |
<Image Source="{Binding}" Width="80" Grid.Row="1" Grid.Column="1" VerticalAlignment="Top" HorizontalAlignment="Left" FlyoutBase.AttachedFlyout="{StaticResource ImagePreviewFlyout3}" Tapped="Image_Tapped"/> |
46 |
52 |
|
<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 |
53 |
|
</Grid> |
48 |
54 |
|
</DataTemplate> |