如何在不使用网格的Windows Phone
中将两个按钮设置单线内两个控件
<StackPanel Grid.Row="1">
<Button Content="-" Width="80" />
<Button Content="+" Width="80" />
</StackPanel>
使用Stackpanel的定向属性
<StackPanel Grid.Row="1" Orientation="Horizontal">
<Button Content="-" Width="80" />
<Button Content="+" Width="80" />
</StackPanel>
使用Stackpanel的定向属性
定向="水平"
<StackPanel Grid.Row="1" Orientation="Horizontal">
<Button Content="-" Width="80" />
<Button Content="+" Width="80" />
</StackPanel>