I need Horizontal view of list boxes

后端 未结 5 512
情话喂你
情话喂你 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:35

    You can either use a WrapPanel or a StackPanel depending on your requirements.

    
        
            
        
    
    
    
        
            
        
    
    

    The documentation for IsItemsHost has an example of a horizontal list box.

提交回复
热议问题