Using A WrapPanel in a TreeView

前端 未结 3 1165
自闭症患者
自闭症患者 2021-01-29 10:35

I want to display data with level of detail, so i use a TreeView, but each detail is quite short, so i would like to use a WrapPanel (horizontal) to have many details per line.<

3条回答
  •  无人及你
    2021-01-29 11:07

    You must set

    ScrollViewer.HorizontalScrollBarVisibility="Disabled"
    

    to your

    
    

    not for

    
    

    example:

    
                            
                
                    
                                
                                
            
            
                                    
                                        
                
            
        
    

    This solution works for me.

提交回复
热议问题