Xamarin Forms ContentPage background image tiling
<p>Im trying to set the ContentsPage BackgroundImage but on large screened devices the image keeps tiling.</p>

<p>Does anyone here know how to stop images from tiling?</p>

<p><strong>EDITED</strong></p>

<p>Here is an image of whats happening on iPads. </p>

<p><a href="https://i.stack.imgur.com/E5HcB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/E5HcB.png" alt="enter image description here"></a></p>

<p>This is what it looks like on a phone:</p>

<p><a href="https://i.stack.imgur.com/ajyCo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ajyCo.png" alt="enter image description here"></a></p>

<p>MainPage.cs</p>

<pre><code>namespace Application.Views
{
    public partial class MainPage : ContentPage
    {
        RegisterDevice registerDevice;
        MenuAnimations menuAnimations;

        private double width;

        public MainPage()
        {
            InitializeComponent();

            registerDevice = new RegisterDevice();
            menuAnimations = new MenuAnimations();

            ToolbarItems.Add(new ToolbarItem
            {
                Icon = "menuBtn.png",
                Order = ToolbarItemOrder.Primary
            });
        }

        protected override void OnSizeAllocated(double width, double height)
        {
              BackgroundImage = "bg_portrait.png";
        }
    }
}
</code></pre>

<p>MainPage.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"
             x:Class="Application.Views.MainPage"&gt;
  &lt;ContentPage.Content&gt;
  &lt;/ContentPage.Content&gt;
&lt;/ContentPage&gt;
</code></pre>