Sai Sunkari
Sai Sunkari

Reputation: 179

Include tabbedpage in a Xamarin forms popup

I have a popup on click of a list view. Is it possible to include Tabbed page in the popup with two tabs?

Upvotes: 1

Views: 477

Answers (2)

Roubachof
Roubachof

Reputation: 3401

If you want tabs without having a TabbedPage in Xamarin.Forms, you can use those custom tabs:

https://github.com/roubachof/Sharpnado.Presentation.Forms#pure-xamarinforms-tabs-no-renderers

These are simple xamarin forms views, you can put them everywhere you like.

Upvotes: 1

Junior Jiang
Junior Jiang

Reputation: 12723

Not sure what effect is your want.Follow is one way :

async void OnAlertYesNoClicked (object sender, EventArgs e)
{
  bool answer = await DisplayAlert ("Question?", "Would you like to play a game", "Yes", "No");
  Debug.WriteLine ("Answer: " + answer);
}

enter image description here

Upvotes: 1

Related Questions