Jesulayo
Jesulayo

Reputation: 3

Is there a way to have a tabbed page in a content page

There's a page in the app i'm developing currently. After some UI (image, text), i have some tabs which navigate to different pages. However, you can't have a tabbed page in a content page using the regular xamarin.forms

Upvotes: 0

Views: 328

Answers (1)

Wendy Zang - MSFT
Wendy Zang - MSFT

Reputation: 10938

Solution1:

Like Jason said, custom control could simulate tabbed behavior.

You could download from the GitHub for reference. https://github.com/CrossGeeks/SegmentedControlSample

For more details, you could refer to the article below. http://www.xamboy.com/2018/01/12/segmented-bar-control-in-xamarin-forms/

enter image description here

Solution2:

You could do that with CarouselView as well.

Download from the GitHub. https://github.com/chrisriesgo/xamarin-forms-carouselview

For more details, you could refer to the link. https://chrisriesgo.com/xamarin-forms-carousel-view-recipe/

The original image is not obvious enough, you could change pin.png to icon.png in PagerIndicatorTabs.cs.

enter image description here

Upvotes: 1

Related Questions