Margin: Left,Top,Right,Bottom

<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>
Related examples in the same category