I have this XAML code:
<FlipView x:Name="models_list" Width="432" Height="286" Canvas.Left="89" Canvas.Top="80" ScrollViewer.VerticalScrollBarVisibility="Hidden" >
<FlipView.ItemTemplate>
<DataTemplate>
<Grid x:Name="imgGrid">
<Image x:Name="img1" Source = "{Binding}" Stretch="Fill" />
<Image x:Name="img2" Source = "{Binding}" Stretch="Fill" />
</Grid>
</DataTemplate>
</FlipView.ItemTemplate>
</FlipView>
I want to be able to overlay images on this basic image 'img1' in the grid 'imgGrid'. img1 gets populated when i add items to flipview through this code:
foreach (StorageFile model in models)
{
models_list.Items.Add(new Uri("ms-appx:///Images/Models/" + model.Name));
}
How can I bind img2 to get values on a specific event?