title: Xamarin Forms : How to make button appear at the bottom of a page
body: <p>I am playing with a Xamarin Form trying to get a button to appear at the bottom of the page.  Here is my xaml...</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"
               xmlns:control="clr-namespace:RMG.InView.Device.Shared;assembly=RMG.InView.Device"
               x:Class="RMG.InView.Device.Shared.PinCodeControlDemoPage"&gt;
    &lt;StackLayout&gt;
      &lt;Label Text="Enter A Code" VerticalOptions="Center" HorizontalOptions="Center" /&gt;
      &lt;Button Text="Reveal Code" x:Name="RevealCode" Clicked="RevealCode_OnClicked" VerticalOptions="End" &gt;&lt;/Button&gt;
    &lt;/StackLayout&gt;
  &lt;/ContentPage&gt;
  </code></pre>
  
  <p>I have VerticalOptions set to End, but the button appears in the middle of the screen.  </p>
  
  <p><a href="https://i.stack.imgur.com/rseMum.png" rel="noreferrer"><img src="https://i.stack.imgur.com/rseMum.png" alt="enter image description here"></a></p>
  
  <p>How can I make the button stick to the bottom of the screen?</p>