Need to scroll one WPF Grid

后端 未结 2 484
春和景丽
春和景丽 2020-12-18 11:52

I want to create two grids in the WPF Page. One Grid need scrollbar or scroll viewer. Another Grid is static.The grids are placed one by one in the

相关标签:
2条回答
  • 2020-12-18 12:46
    <ScrollViewer>  
        <StackPanel>  
            ...   
        </StackPanel>  
    </ScrollViewer>  
    
    0 讨论(0)
  • 2020-12-18 12:49

    Sounds like this user justs wants the first grid to scroll, such as:

    <StackPanel>
        <ScrollViewer>
            <Grid>
            </Grid>
        </ScrollViewer>
        <Grid>
        </Grid>
    </StackPanel>
    
    0 讨论(0)
提交回复
热议问题