我尝试这样做,但收到消息错误:“ColumnDefinition 不支持直接内容”
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="229">
<StackPanel Margin="0,0,0,17" Grid.ColumnSpan="2">
<TextBlock Height="30" Name="l1" Text="first name" />
<TextBox InputScope="Number" Height="71" Name="firstName" Text="" Width="460" />
</StackPanel>
</ColumnDefinition>
<ColumnDefinition Width="227">
<StackPanel Margin="0,0,0,17" Grid.ColumnSpan="2">
<TextBlock Height="30" Name="l1" Text="first name" />
<TextBox InputScope="Number" Height="71" Name="firstName" Text="" Width="460" />
</StackPanel>
</ColumnDefinition>
</Grid.ColumnDefinitions>
</Grid>