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

Display several pages at once without MasterDetailPage?

$
0
0

Is there any way to display more than one page at once without using a MasterDetailPage?

What I'm looking for is something like this:

<StackLayout Spacing="10" x:Name="layout" Orientation="Horizontal">
        <v:ContentPageBlueView/>
        <v:ContentPageRedView/>
      </StackLayout>

But this gives me an ArgumentException because I can only add views to a StackLayout:

'TabbedPageSample.Views.ContentPageBlueView' cannot be converted to type 'Xamarin.Forms.View'.

I've also tried to use a Grid instead of a StackLayout, but it gave me the same result.

I've attached an image of how I want to show two pages next to each other.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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