title: Toolbar item not showing in xamarin forms
body: <p>I am pretty much new to Xamarin forms.
  I am trying to add toolbar items to content page. </p>
  
  <p>I am using IPAD Air as deployment device and used sever iPhone/ipad simulators as well.
  I referred the XamarinForms-Mobile App pdf document. Though its a basic, i am not sure, why i am not able to see it in device. Please help me where i am making the mistake.</p>
  
  <pre><code>public partial class SamplePage : ContentPage   
  {
      public SamplePage()
      {
          //Toolbar items
              ToolbarItem scanItem = new ToolbarItem ();
              scanItem.Name = "Scan";
              scanItem.Order = ToolbarItemOrder.Primary;
  
              ToolbarItem settingsItem = new ToolbarItem ();
              settingsItem.Name = "Settings";
              settingsItem.Order = ToolbarItemOrder.Primary;
  
              ToolbarItems.Add (scanItem);
              ToolbarItems.Add (settingsItem);
      }
  }
  </code></pre>
  
  <p>App.cs</p>
  
  <pre><code>public class App
      {
          public static Page GetMainPage ()
          {   
              return new SamplePage ();
          }
      }
  </code></pre>
  
  <p>Tried xaml way of doing it as well. But no result. Content page is blank.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="BLE_Core.BLECorePage"&gt;
      &lt;ContentPage.Content&gt;
      &lt;/ContentPage.Content&gt;
      &lt;ContentPage.ToolbarItems&gt;
          &lt;ToolbarItem Name = "Scan"&gt;&lt;/ToolbarItem&gt;
          &lt;ToolbarItem Name = "Settings"&gt;&lt;/ToolbarItem&gt;
     &lt;/ContentPage.ToolbarItems&gt;
  &lt;/ContentPage&gt;
  </code></pre>