Hi,
In below example I have multiple ContentPages inside my CarouselPage but this will make the file too long and difficult to maintain,
Can I create a separate ContentPage file for each of them and then load it into my CarouselPage?
How can I do that please?
<?xml version="1.0" encoding="utf-8" ?>
<CarouselPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:ios="clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core"
ios:Page.UseSafeArea="True"
CurrentPageChanged="CarouselPage_CurrentPageChanged"
x:Class="Kalko.MainPage">
<NavigationPage.TitleView>
<StackLayout>
<Label Text="Home Page" VerticalOptions="Center" />
<Image HorizontalOptions="End" VerticalOptions="Center">
<Image.Source>
<FontImageSource FontFamily="FontSolid" Size="30" Glyph="{StaticResource IconFavorite}" />
</Image.Source>
</Image>
</StackLayout>
</NavigationPage.TitleView>
<ContentPage x:Name="ContentPageHomePage">
</ContentPage>
<ContentPage x:Name="ContentPagePag2">
</ContentPage>
<ContentPage x:Name="ContentPagePag3">
</ContentPage>
<ContentPage x:Name="ContentPagePag4">
</ContentPage>
</CarouselPage>