title: Xamarin Stacklayout VerticalOptions CenterAndExpand not working
body: <p>Hi Guys probably very easy question for Xamarin expert I am trying to vertically center align stacklayout control and it is working fine in android mobile but not working in windows mobile device. My code is below</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="aa.Views.MainPage"&gt;
    &lt;ScrollView&gt;
      &lt;StackLayout Orientation="Vertical" VerticalOptions="CenterAndExpand"
                    Padding="20" Spacing="10"&gt;
        &lt;Entry x:Name="enEmail" Placeholder="Email"&gt;&lt;/Entry&gt;
        &lt;Entry x:Name="enPassword" IsPassword="True" Placeholder="Password"&gt;&lt;/Entry&gt;
        &lt;Button Text="Login" Clicked="OnClicked_btnLogin" x:Name="btnLogin"&gt;&lt;/Button&gt;
        &lt;Button Text="Register" Clicked="OnClicked_btnRegister" x:Name="btnRegister"&gt;&lt;/Button&gt;
      &lt;/StackLayout&gt;
    &lt;/ScrollView&gt;
  
  &lt;/ContentPage&gt;
  </code></pre>
  
  <p>For more details please have a look at the attached images and help me how would i align it in center of screen for windows phone</p>
  
  <p><a href="https://i.stack.imgur.com/enGp6.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/enGp6.jpg" alt="enter image description here"></a></p>