ScrollViewer not scrolling in WPF

后端 未结 5 616
滥情空心
滥情空心 2020-12-09 01:45

I am using a scrollviewer control around my stack panel which contains an ItemsControl. When there are many items in the ItemsControl it is suppose to scroll but for some re

5条回答
  •  时光说笑
    2020-12-09 02:25

    The Scroll needs to be the parent of the resizing child so, put the resizing control(in this instance the stack panel) inside it.

    
        
             
             
             
             
             
        
    

提交回复
热议问题