title: Margin to a Image in Xamarin Forms
body: <p>I have an image on my Xamarin.Forms. I want to add some margin from Top.    </p>
  
  <p>Form.XAML:-</p>
  
  <pre><code>&lt;ContentPage.Content&gt;
      &lt;Grid&gt;
          &lt;Image x:Name="image" /&gt;
      &lt;/Grid&gt;
  &lt;/ContentPage.Content&gt;"
  </code></pre>
  
  <p>Form.XAML.cs:- </p>
  
  <pre><code>image.Source = ImageSource.FromFile (Height &gt; Width ? "portrait.jpg" : "landscape.jpg");
  </code></pre>