title: Adding spaces between WPF controls
body: <p>I have created two buttons using the following <code>XAML</code> code.</p>
  
  <pre><code>&lt;Button x:Name="Button1" Width="100" Content="Button1" HorizontalAlignment="Left" VerticalAlignment="Top" &gt;&lt;/Button&gt;
                          &lt;Button x:Name="Button2" Width="100" Content="Button2" HorizontalAlignment="Left" VerticalAlignment="Top" &gt;&lt;/Button&gt;
  </code></pre>
  
  <p>The two buttons are tightly touching each other. How to put some space between them?</p>
  
  <p><strong>Note:</strong> <em>The buttons are located inside a stackpanel with Horizontal orientation.</em></p>