<Grid>
<ScrollViewer Height="391" HorizontalAlignment="Left" Margin="10,10,0,0" Name="scrollViewer1" VerticalAlignment="Top" Width="427" >
<Grid Height="733">
</Grid>
</ScrollViewer>
<TextBox Height="76" HorizontalAlignment="Left" Margin="19,453,0,0" Name="textBox1" Text="TextBox" VerticalAlignment="Top" Width="254" />
<Button Content="Button" Height="77" HorizontalAlignment="Left" Margin="290,450,0,0" Name="button1" VerticalAlignment="Top" Width="136" />
</Grid>
当用户单击按钮时,我想在滚动查看器中添加一个复选框。每次点击时,一个新的复选框也应该出现在前一个复选框的下方。而且,ScrollViewer 是完成这项任务的理想控件吗?