Listview win8 xaml how to create columns?

后端 未结 2 595
日久生厌
日久生厌 2020-12-10 07:58

Hi I am trying to create 3 columns in a ListView.

I read this but I want to set the data in each column programtically in C#:

how to display data in rows and

2条回答
  •  眼角桃花
    2020-12-10 08:44

    Improved XAML of Seb Boulet's answer if you don't want to hard code the Width of the Item/Grid (responsive design):

    
        
            
        
        
            
                
                    
                        
                        
                        
                    
                    
                    
                    
                
            
        
    
    

    Related topic: How to get a ListBox ItemTemplate to stretch horizontally the full width of the ListBox?

提交回复
热议问题