How can I hide the header of a WPF ListView?

后端 未结 3 1544
慢半拍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:33

    Thanks for this solution. You can also put the Style inline like so:

    
        
            
        
        
            
                
            
        
    
    

    (Also, the {x:Type} notation you used doesn't seem to be needed)

提交回复
热议问题