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.