布局:
1. <StackPanel Orientation="Vertical">
<TextBlock Text="姓名" FontSize="30" Margin="10,10,10,10"/>
<TextBox Width="150" Height="30"/>
<TextBlock Text="手机" FontSize="30" Margin="10,10,10,10"/>
<TextBox Width="150" Height="30"/>
<TextBlock Text="邮箱" FontSize="30" Margin="10,10,10,10"/>
<TextBox Width="150" Height="30"/>
<TextBlock Text="地址" FontSize="30" Margin="10,10,10,10"/>
<TextBox Width="150" Height="30"/>
</StackPanel>
2.
<Canvas>
<Button Content="按钮1" FontSize="30" Canvas.Left="10" Canvas.Top="10"/>
<Button Content="按钮2" FontSize="30" Canvas.Left="10" Canvas.Top="60"/>
<Button Content="按钮3" FontSize="30" Canvas.Left="10" Canvas.Top="110"/>
<Button Content="按钮4" FontSize="30" Canvas.Left="10" Canvas.Top="160"/>
</Canvas>
3.
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="150"/>
<RowDefinition Height="150"/>
<RowDefinition Height="150"/>
<RowDefinition Height="150"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="200"/>
<ColumnDefinition Width="300"/>
</Grid.ColumnDefinitions>
<TextBlock Text="姓名" FontSize="30" Grid.Row="0" Grid.Column="0"/>
<TextBlock Text="手机" FontSize="30" Grid.Row="1" Grid.Column="0" />
<TextBlock Text="邮箱" FontSize="30" Grid.Row="2" Grid.Column="0"/>
<TextBlock Text="地址" FontSize="30" Grid.Row="3" Grid.Column="0"/>
<TextBox Width="150" Height="30" Grid.Row="0" Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Top"/>
<TextBox Width="150" Height="30" Grid.Row="1" Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Top"/>
<TextBox Width="150" Height="30" Grid.Row="2" Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Top"/>
<TextBox Width="150" Height="30" Grid.Row="3" Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Top"/>
</Grid>