How can I hide the header of a WPF ListView?

后端 未结 3 1545
慢半拍i
慢半拍i 2021-01-30 10:04

I want to be able to hide the header at the top of each grid column in a WPF ListView.

This is the XAML for my ListView:

   

        
3条回答
  •  醉酒成梦
    2021-01-30 10:32

    Another way you can apply Ray's solution is like this:

    
        
            
                
                    
                
            
        
    
    

    The solution sets the style property directly rather than creating a resource that is automatically applied. Not saying it's better, just another way...

提交回复
热议问题