How to add button to other page on this code (this is part of one card in TabbedPage):
this.Children.Add(new ContentPage
{
Title = "Text",
Content = new StackLayout
{
Padding = 20,
VerticalOptions = LayoutOptions.FillAndExpand,
Children =
{
new Image
{
Source = ImageSource.FromFile("image.png")
},
new Label
{
TextColor = Color.FromHex("#5F5A5A"),
FontSize = 16,
Text = "Other text"
}
}
}
});
Thanks for help.