title: How to change background Color of Navigationbar programmatically in Xamarin?
body: <p>I created a navigationbar in UWP project on Xamarin.</p>
  
  <pre><code>App.xaml.cs
  ...
  public app()
  {
    InitializeComponent();
    MainPage = new NavigationPage(new LoginPage()){
      BarBackgroundColor = Color.Black;
    }
  }
  </code></pre>
  
  <p>So If I am in Setting Page, I need to change the color of Navigationbar programmatically.</p>
  
  <pre><code>SettingPage.xaml.cs
  
  ...
  private void clicked_btn(sender, e) {
    ...
    // how can I get the handle of navigationbar and then change the attribute of one???
  }
  </code></pre>
  
  <p>Is that possible?</p>
  
  <p>Is there a way I can do?</p>