WPF toolkit DataGrid show filds even with browsable attribute set to false
        Posted  
        
            by Jonathan
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Jonathan
        
        
        
        Published on 2010-05-12T08:01:49Z
        Indexed on 
            2010/05/12
            8:04 UTC
        
        
        Read the original article
        Hit count: 204
        
Hi
Hi have an observable collection that I bind to a DataGrid using the itemsource property of the DataGrid.
All the properties of the class inside the collection are displayed properly in the DataGrid. Now, I want to hide some fields to the DataGrid using the browsable attribute [Browsable(false)] in the class. It works well in winforms, but it seems not working in WPF.
Someone knows why? I can hide the columns later, but I don't want to loss performance in this way.
Is there any other solution?
Thanks.
© Stack Overflow or respective owner