无法在主窗口中滚动内容

本文关键字:滚动 窗口 | 更新日期: 2023-09-27 17:57:06

>我已经将滚动查看器添加到我的 WPF 应用程序中,但是当我调整大小时,我仍然看不到控件

<ScrollViewer>
    <GroupBox Header = "Add Member"  FontFamily="Calibri" FontWeight="Bold" FontSize="24" Height="500">
        <Grid>
            <RadioButton Content = "Female"   FontSize="16" FontWeight="Normal" TabIndex="4" Margin="651,335,0,105"/>
        </Grid>
    </GroupBox>
</ScrollViewer>

我错过了什么?

无法在主窗口中滚动内容

我复制并粘贴了您的代码,对我来说看起来不错(从单选按钮中删除边距后):http://screencast.com/t/12wUxd2HFFAJ