WPF: How to hide GridViewColumn using XAML?

后端 未结 10 659
北海茫月
北海茫月 2020-12-05 09:59

I have the following object in App.xaml


        
            

        
10条回答
  •  春和景丽
    2020-12-05 10:44

    I'd suggest using a custom property (or hijacking an existing one) on the parent and then using a custom style on the gridviewcolumnheader to reference that ancestor property. Like this:

    
        
                                     
                
        
    
    
        
            
            
        
    
    

提交回复
热议问题