I need Horizontal view of list boxes

后端 未结 5 606
情话喂你
情话喂你 2021-01-25 07:22

I am working on list boxes in WPF. I want to show the list boxes in horizontal direction. My code is



    

        
5条回答
  •  温柔的废话
    2021-01-25 07:51

    Your itemscontrol doesn't provide a custom ItemsPanel, then a StackPanel is used as a default with vertical Orientation.

    Try add:

    
        
            
        
    
    

提交回复
热议问题