Single ContentPage as CarouselView item

Hi all!
I use Xamarin.Forms.CarouselView control.
Is there a way to have a single ContentPage as CarouselView item?
I have this code:

            <control:CarouselView x:Name="CarouselView" ItemsSource="{Binding MyDataSource}" Position="{Binding Position, Mode=TwoWay}" >
                <control:CarouselView.ItemTemplate>
                    <DataTemplate>
                        <Label Text="{Binding Name}" TextColor="White" />
                    </DataTemplate>
                </control:CarouselView.ItemTemplate>
            </control:CarouselView>

MyDataSource is a List. It works, but i don't know how to use a ContentPage (fro example, Page1) as item.

Answers

Sign In or Register to comment.