title: Master-detail page button page color
body: <p><a href="https://i.stack.imgur.com/xTxWK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xTxWK.png" alt="which is in red "></a>I want to change the color of the button page which is in the master-detail page using Xamarin .forms I use BarTextColor but it didn't work .
  Any help please !!</p>
  
  <p>this is the code :</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;MasterDetailPage xmlns="http://xamarin.com/schemas/2014/forms"
               xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
               x:Class="VecottApp.Pages.MDetailPage"
                xmlns:pages="clr-namespace:VecottApp.Pages"
               NavigationPage.HasNavigationBar="False"&gt;
      &lt;MasterDetailPage.Master &gt;
  
          &lt;pages:MDetailPageMaster x:Name="MasterPage"    /&gt;
      &lt;/MasterDetailPage.Master&gt;
    &lt;MasterDetailPage.Detail&gt;
          &lt;NavigationPage
        BarBackgroundColor="#3b5998" BarTextColor="Red" &gt;
              &lt;x:Arguments&gt;
                  &lt;pages:ProfilePage  /&gt;
        &lt;/x:Arguments&gt;
      &lt;/NavigationPage&gt;
    &lt;/MasterDetailPage.Detail&gt;
  &lt;/MasterDetailPage&gt;
  </code></pre>