Hello,
Welcome to our Microsoft Q&A platform!
Change the second navigation bar text color different with main page color
Try using NavigationPage.TitleView
to display the text content. You could define a different textColor in each page.
Check the code:
<ContentPage ...
x:Class="TestApplication_4.MainPage">
<NavigationPage.TitleView>
<StackLayout>
<Label Text="MainPage" FontSize="18" TextColor="White"/>
</StackLayout>
</NavigationPage.TitleView>
...
</ContentPage>
<ContentPage ...
x:Class="TestApplication_4.Page1">
<NavigationPage.TitleView>
<StackLayout>
<Label Text="Page1" FontSize="18" TextColor="Red"/>
</StackLayout>
</NavigationPage.TitleView>
...
</ContentPage>
Best Regards,
Jarvan Zhang
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.