programming-examples/c-sharp/Others/Margin Left,Top,Right,Bottom.cs
2019-11-15 12:59:38 +01:00

16 lines
342 B
C#

Margin: Left,Top,Right,Bottom
<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
Title="About WPF"
Background="Red">
<Canvas>
<Border BorderBrush="Cyan" BorderThickness="1">
<Label Margin="0,8,25,32" Background="Aqua">0,8,25,32</Label>
</Border>
</Canvas>
</Window>