I have a question. I created a TabbedPage with 2 childs. In child1 I want to show the selected images. In child2 I have a Grid with a few images. Now I want to make the images in child2 selectable and when they get clicked, I want them to be inserted in the StackLayout in child1. I have no clue how to start, so can someone give me an example?
Here is the xaml from child1:
<ContentPage.Content>
<StackLayout BackgroundColor="White" x:Name="MainLayout" VerticalOptions="Center">
</StackLayout>
</ContentPage.Content>
Here is the Grid from child2
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="10" />
<RowDefinition Height="100" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="10" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="10" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="10" />
</Grid.ColumnDefinitions>
<Image Grid.Row="1" Grid.Column="1" Source="Good_Question.png" VerticalOptions="CenterAndExpand" HorizontalOptions="CenterAndExpand" />
<Image Grid.Row="1" Grid.Column="3" Source="Excuse_Me.png" />
</Grid>
Can someone give me an example of how I can add an Image that is selected in a different tab to another tab in a TabbedPage?