The same margin on all four sides

image_pdfimage_print


   
      

<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  Title="About WPF" 
  Background="OrangeRed">

    <Canvas>


  <Border BorderBrush="Black" BorderThickness="1">

    <Label Margin="10" Background="Aqua">10</Label>
  </Border>
    </Canvas>

</Window>