Forcing WPF to create the items in an ItemsControl

前端 未结 6 1328
日久生厌
日久生厌 2021-01-12 18:13

I want to verify that the items in my ListBox are displayed correctly in the UI. I figured one way to do this is to go through all of the children of the

6条回答
  •  长发绾君心
    2021-01-12 18:24

    Just quick looking, if the ListBox uses VirtualizingStackPanel - maybe it will be enough to substitute it with StackPanel like

    
      
          
      
    
    

提交回复
热议问题