WPF listbox实现多列显示数据

一.每行显示固定列数

ScrollViewer.HorizontalScrollBarVisibility="Disabled" >
                   
                       
                            
                       

                   

                   
                       
                            ...
                       

                   

二.每行显示列数随宽度变化

ScrollViewer.HorizontalScrollBarVisibility="Disabled" >
                   
                                  
                           
                       

                   

                   
                       
                            ...
                       

                   

 

转载于:https://www.cnblogs.com/CitySnail/p/5137157.html

你可能感兴趣的:(WPF listbox实现多列显示数据)