Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Unable to change the navigation status bar background dynamically?

I am unable to apply a theme color to the navigation status bat background color. I am using the below code:

var nav = new NavigationPage(new MainMenuView())
BarTextColor = Color.White,
nav.SetDynamicResource(NavigationPage.BarBackgroundColorProperty, "AppNavigationBarStyle");>



  • TimBurgessTimBurgess USMember, University

    I was able to it by setting up a style



  • TimBurgessTimBurgess USMember, University

    put in the xaml tags i could not show the text on this post with them in
    Style TargetType="NavigationPage"
    Setter Property="BarTextColor" Value="Color.White"
    Setter Property="BarBackgroundColor" Value="Blue"

Sign In or Register to comment.