Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

TabbedPage containing a collection of ContentPages

$
0
0

My app has three main screens that I would like to make available as different tabs. A TabbedPage seems like the prefect control to contain these pages, but the examples I've found seem to data bind each tab to a different item in a list.

I'd like to do something like this:

<TabbedPage ...>
    <TabbedPage.Items>
        <MyFirstPage />
        <MySecondPage />
    </TabbedPage.Items>
</TabbedPage>

This doesn't work. Is this possible (with different syntax) or should I be using something else if I want to create a tabbed navigation between pages?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>