title: Xamarin Forms: How to add controls on MasterDetail Tool Bar
body: <p>I am creating a master detail page in Xamarin Forms. I want to have Menu icon on top left, searcher on the right and another label on the menu bar.</p>
  
  <p>Can some help help me with how I can be done? I added the menu icon. I want help with adding other controls on the toolbar/Menubar/Navigation bar what ever it is called. Its the bar on top of the master detail page.</p>
  
  <p><strong>Code:</strong></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" 
          xmlns:prism="clr-namespace:Prism.Mvvm;assembly=Prism.Forms"
          xmlns:local="clr-namespace:PCL.Core.Views;assembly=PCL.Core"
          prism:ViewModelLocator.AutowireViewModel="True" 
          x:Class="PCL.Core.Views.RootPage" MasterBehavior="Popover" &gt;
      &lt;MasterDetailPage.Master&gt;
          &lt;local:MasterPage/&gt;
      &lt;/MasterDetailPage.Master&gt;
      &lt;MasterDetailPage.Detail&gt;
          &lt;NavigationPage BarBackgroundColor="Maroon" &gt;
              &lt;x:Arguments &gt;
                  &lt;local:DetailPage /&gt;
              &lt;/x:Arguments&gt;
          &lt;/NavigationPage&gt;
      &lt;/MasterDetailPage.Detail&gt;
  &lt;/MasterDetailPage&gt;
  </code></pre>
  
  <p>Thanks.</p>