Hi,
How can I change the NavigationPage's TitleView Backcolor color to be different for every ContentPage in my CarouselPage?
and How can I set a different Title for every page based on the ContentPage name, for example for ContentPageHomePage the Title is "Home Page" and for ContentPagePag2 the Title is "Page 2", etc..
<?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>