Margin: Left,Top,Right,Bottom

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="0,10,20,30" Background="Aqua">0,10,20,30</Label>
      </Border>

    </Canvas>

</Window>